我最近使用VS2010升级选项将ASP.Net 2.0网站升级到ASP.Net 4.0。在IIS 6.0上部署ASP.Net 4.0网站
网站工作在卡西尼号,甚至我们的IIS 6.0
Windows 2003 Server上不错,但它不会拿出客户端的环境。
客户端也有安装了IIS 6.0和.NEt Framework 4.0的Windows Server 2003。
我一直在使用
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis –ir
还配置了.NET框架4.0的网站像下面
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>ASPNET_REGIIS -norestart -s "W3SVC
/1/ROOT/Website"
我已经指定的网站单独的应用程序池专用于注册ASP.NEt 4.0与IIS 6.0它。
我试过重新启动IIS和机器,但无济于事。
我已经验证,在“网页扩展” ASP.NEt 4.0是允许的,还检查站点的配置,以确认的.aspx除其他映射到.NET 4.0
我已经给互联网用户的读访问到网站目录。
我已经越来越
"Server Application not available"
我也越来越事件以下日志
Failed to initialize the AppDomain:/LM/W3SVC/1/Root/Website
Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Access is denied.
此事件之后另一个是
Failed to execute request because the App-Domain could not be created.
Error: 0x80070005 Access is denied.
网站使用主动报告6.0 ELMAH。而已。
我很感激任何提示/指针来解决这个问题。
谢谢