感谢网友http://sns.yhjy.cn/u/XperiaZ/Blog/t-4748

由于删除了framework 4.5引起的。

windows server 2012默认安装framework 4.5,但没有安装IIS。

安装IIS后,asp.net没有注册.网站无法运行。

CMD中输入命令

Dism /online /enable-feature /all /featurename:Server-Gui-Mgmt /featurename:Server-Gui-Shell /featurename:ServerCore-FullServer

 

相关文章:

  • 2021-04-28
  • 2021-11-23
  • 2022-12-23
  • 2021-09-15
  • 2021-08-09
  • 2021-10-27
  • 2021-10-13
猜你喜欢
  • 2022-01-07
  • 2021-12-11
  • 2021-04-12
  • 2021-12-04
  • 2022-12-23
  • 2022-02-10
相关资源
相似解决方案