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.
事件日志:
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 拒绝访问。
解决办法:
1.首先开启「命令窗口」,并切换目录到 %SystemRoot%\Microsoft.Net\Framework\(%SystemRoot% 视你 Windows 安装目录而定,一般是在 C:\Windows)
2.执行 “net stop w3svc” 终止 w3svc 服务(其实就是停止IIS进程)
3.切换到下层目录 v2.0.5.xxx
4.执行 “aspnet_regiis.exe -ua” 解除 .Net 安装(安装多个版本的需要注意,无论进入哪个目录,执行此命令后所有的.NET版本都会被删除)
5.重新安装 .Net 到 IIS 中 “aspnet_regiis.exe -i”