WEB开发网
开发学院操作系统Windows 2003 Failed to execute request because the App-Doma... 阅读

Failed to execute request because the App-Domain 解决办法

 2008-10-29 09:03:21 来源:WEB开发网   
核心提示:1.Error:Failed to execute request because the App-Domain could not be created. Error: 0×80070005 access is denied.具体情况如下:Server application UnavailableThe web a

1.Error:Failed to execute request because the App-Domain could not be created. Error: 0×80070005 access is denied.

具体情况如下:
Server application Unavailable

The web application you are attempting to access on this web server is currently unavailable. Please hit the “Refresh” button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

查看Event Viewer,看到的错误为:

Error:Failed to execute request because the App-Domain could not be created. Error: 0×80070005 Access is denied.

開啟asp.net 網站時,如果發生錯誤,經查看Web伺服器的「事件檢視器」中之「應用程式」,如果錯誤訊是:

Failed to execute request because the App-Domain could not be created. Error: 0x80131902

基本上,這個情況最可能發生在第一次執行 .Net work 2.0 ,原因不明,但底下的做法大致可以解決此問題:

1.首先開啟「命令視窗」,並切換目錄到 %SystemRoot%\Microsoft.Net\work\(%SystemRoot% 視你 Windows 安裝目錄而定,一般是在 C:\Windows)

2.執行 "net stop w3svc" 終止 w3svc 服務
3.切換到下層目錄 v2.0.5.xxx
4.執行 "aspnet_regiis.exe -ua" 解除 .Net 安裝
5.重新安裝 .Net 到 IIS 中 "aspnet_regiis.exe -i"
6.重新啟動 w3svc "net start w3svc".

Tags:Failed to execute

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接