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,看到的錯(cuò)誤為:
Error:Failed to execute request because the App-Domain could not be created. Error: 0×80070005 Access is denied.
開(kāi)啟asp.net 網(wǎng)站時(shí),如果發(fā)生錯(cuò)誤,經(jīng)查看Web伺服器的「事件檢視器」中之「應(yīng)用程式」,如果錯(cuò)誤訊是:
Failed to execute request because the App-Domain could not be created. Error: 0x80131902
基本上,這個(gè)情況最可能發(fā)生在第一次執(zhí)行 .Net work 2.0 ,原因不明,但底下的做法大致可以解決此問(wèn)題:
1.首先開(kāi)啟「命令視窗」,並切換目錄到 %SystemRoot%\Microsoft.Net\work\(%SystemRoot% 視你 Windows 安裝目錄而定,一般是在 C:\Windows)
2.執(zhí)行 "net stop w3svc" 終止 w3svc 服務(wù)
3.切換到下層目錄 v2.0.5.xxx
4.執(zhí)行 "aspnet_regiis.exe -ua" 解除 .Net 安裝
5.重新安裝 .Net 到 IIS 中 "aspnet_regiis.exe -i"
6.重新啟動(dòng) w3svc "net start w3svc".
![]() | ![]() .. 定價(jià):¥45 優(yōu)惠價(jià):¥42 更多書(shū)籍 |
![]() | ![]() .. 定價(jià):¥225 優(yōu)惠價(jià):¥213 更多書(shū)籍 |