ASP.NET IIS 7.5 HTTP 500.21 error

后端 未结 4 861
深忆病人
深忆病人 2021-02-04 01:59

I am having an issue setting up a local site.

The project is using ASP.NET Framework 4.0 and I have my DefaultAppPool to use 4.0 with Managed Pipeline Mode as Integrated

4条回答
  •  隐瞒了意图╮
    2021-02-04 02:44

    Did you register .NET with IIS? If not run the following commands:

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
    

    You need to do this from an elevated command prompt (...run as admin).

提交回复
热议问题