我用c#做的b/s结构的网页,在xp上用iis发布正常,在2003上出错,父目录已启用,web扩展也开了,asp.net2.0也装了,权限也给了,但是运行时还是报错,错误如下:
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_ldrxevon'. Make sure that it is compiled before accessing the page.Source Error:
Line 1: <%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_ldrxevon" %>
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: /dle.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
请高手帮忙看看,在线等!!!!!!!!!
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_ldrxevon'. Make sure that it is compiled before accessing the page.Source Error:
Line 1: <%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_ldrxevon" %>
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: /dle.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
请高手帮忙看看,在线等!!!!!!!!!
如果不是Web应用程序,则还需给网站添加应用程序池
如果是Web应用程序,就应该没什么问题了,你不妒试建一个Web应用程序测试一下.
《只要在IIS发布个虚拟目录便可嘛?》