How to get rid of this error Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list

后端 未结 6 1875
再見小時候
再見小時候 2021-01-05 15:44

Using IIS7.5, the website works fine in Visual Studio but when I try to deploy on IIS get the following error.

Module IIS Web Core
Notification

6条回答
  •  轮回少年
    2021-01-05 16:15

    The version of .Net you are using has not been registered with IIS correctly. If it is .Net version 4 on a 64-bit 2008 server use these two commands to fix it.

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

提交回复
热议问题