我最近使用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。而已。
我很感激任何提示/指針來解決這個問題。
謝謝