Failed to execute request because the App-Domain could not be created. Error: 0×80131902的解决方法

今天打开iis下的asp.net网站发现,“服务器应用程序不可用”,并且查看事件查看器发现了,Failed to execute request because the App-Domain could not be created. Error: 0×80131902的解决方法 的报错,google了一下,找到一个解决的方法:

  • 首先运行 cmd,切换目录到 %SystemRoot%\Microsoft.Net\Framework\ (%SystemRoot% C:\Windows)
  • net stop w3svc - 停止w3svc服务
  • cd v2.0.50727 切换到此目录
  • aspnet_regiis.exe -ua 删除.Net安裝
  • aspnet_regiis.exe -i 重新安装iis的.net
  • net start w3svc 重启w3svc服务
在先安装了framework之后再安装iis的话就有可能出现这个问题,建议在安装完系统后顺便安装iis然后再安装其他软件,防止有这个问题发生。

 

posted on 2011-12-21 14:47  毛毛亟亟  阅读(332)  评论(0编辑  收藏  举报

导航