今天打开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然后再安装其他软件,防止有这个问题发生。

 

相关文章:

  • 2022-02-23
  • 2021-09-26
  • 2022-12-23
  • 2022-02-05
  • 2021-09-25
  • 2022-12-23
  • 2022-01-06
  • 2022-12-23
猜你喜欢
  • 2021-11-30
  • 2021-05-21
  • 2022-12-23
  • 2021-12-17
  • 2021-06-27
  • 2021-09-22
  • 2022-12-23
相关资源
相似解决方案