一、如果没有按照正常的先装iis后装.net的顺序,可以使用此命令重新注册一下:

32位的Windows:
---------------------------------------------------------------------------
1. 运行->cmd 

2. cd  C:\Windows\Microsoft.NET\Framework\v4.0.30319

3. aspnet_regiis.exe -i

 

64位的Windows:

---------------------------------------------------------------------------

1. 运行->cmd 

2. cd  C:\Windows\Microsoft.NET\Framework64\v4.0.30319

3. aspnet_regiis.exe -i

 

二、控制面板 - 程序和功能 - 启动或关闭windows功能 - Internet Information services - 万维网服务 - 应用程序开发功能

勾选以下服务:

  1、ASP.NET 3.5

  2、ASP.NET 4.6

  3、ISAPI扩展

  4、ISAPI筛选器

  5、.NET Extensibility 3.5

  6、.NET Extensibility 4.6

相关文章:

  • 2022-01-18
  • 2022-12-23
  • 2021-10-27
  • 2022-12-23
  • 2022-12-23
  • 2021-08-07
猜你喜欢
  • 2021-10-25
  • 2022-12-23
  • 2022-02-04
  • 2022-12-23
相关资源
相似解决方案