Handler “ExtensionlessUrlHandler-Integrated-4.0” has a bad module “ManagedPipelineHandler” in its module list

后端 未结 22 1612
北荒
北荒 2020-12-02 04:11

To be honest, I\'ve tried to turn a dirty trick on IIS and just when I thought that I was going to get away with it, I realized my workaround doesn\'t work. Here\'s what I\'

相关标签:
22条回答
  • 2020-12-02 04:37

    Make sure that you have set your application-site version from v2.0 to v4.0 in IIS Manager:

    Application Pools > Your Application > Advanced Settings > .NET Framework Version

    After that, install your ASP.NET.

    For 32-Bit OS (Windows):

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

    For 64-Bit OS (Windows):

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

    Restart your application-site in IIS Manager and enjoy.

    0 讨论(0)
  • 2020-12-02 04:38

    Try to re-register ASP.NET with aspnet_regiis -i. It worked for me.

    A likely path for .NET 4 (from elevated command prompt):

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

    http://forums.iis.net/p/1190643/2026401.aspx

    0 讨论(0)
  • 2020-12-02 04:38

    In my case (Windows 10 + IIS 10) i had to open "Turn Windows Features On or Off" and then go to Internet Information Services > World Wide Web Services > Application Development Features > and check ASP.NET 4.6

    0 讨论(0)
  • 2020-12-02 04:38

    You could fix it by change the "ExtensionlessUrlHandler-Integrated-4.0" type in iis to System.Web.DefaultHttpHandler

    0 讨论(0)
提交回复
热议问题