Parser Error错误. 解决这问题的朋友来帮下
我用vs2005就写了个index.aspx页面,代码 if(!IsPostBack){
Response.write("test");
}
在这里,我在本机上可以使用,但放到服务器上,就报错.
1.在自己本机上运行,网页显示"test" .
2.发布网站后运行,在本机上可以使用,网页显示"test" .
3.接着,我将发布后的bin | index.aspx | web.config | 拷到服务器上.
结果:
详细错误信息:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load the assembly 'App_Web_fxfmtx48'. Make sure that it is compiled before accessing the page.
Source Error:
Line 1: <%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_fxfmtx48" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /mytv/Default.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
--------------------编程问答-------------------- 我也遇到了同样的问题。帮顶了
补充:.NET技术 , ASP.NET