IIS 7, HttpHandler and HTTP Error 500.21

后端 未结 7 831
既然无缘
既然无缘 2020-12-09 17:40

On IIS 7, I\'m trying to use custom HttpHandler for my ASP.NET web application. I use pipeline mode \"classic\", .NET version is 4.0.30319, my web.config configuration for t

7条回答
  •  既然无缘
    2020-12-09 17:52

    Luckily, it’s very easy to resolve. Run the follow command from an elevated command prompt:

    %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
    

    If you’re on a 32-bit machine, you may have to use the following:

    %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
    

提交回复
热议问题