find a location for property in a new city

Saturday, 19 January 2013

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

How to fix the error 'Handler “ExtensionlessUrlHandler-Integrated-4.0” has a bad module “ManagedPipelineHandler” in its module list'.

This error occurred when I moved my moved my ASP.NET 4.5 from an old Windows 7 machine to a brand new Windows 8 machine running IIS 8.

I was thinking I was in need of an aspnet_regiis -I but this threw back a message at me saying "Start installing ASP.NET (4.0.30319.17929). This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog, the Server Manager management tool, or the dism.exe command line tool. For more details please see http://go.microsoft.com/fwlink/?LinkID=216771. Finished installing ASP.NET (4.0.30319.17929)."

So I turned to turning windows features on/off (Win+X then hit F). I had already turned IIS on but then I had found I hadn't done enough.

Previously when I had turned IIS on I had left it with the default but actually I needed more to get ASP.NET 4.5 to run. You need to go to:

  1. Internet Information Services
  2. World Wide Web Services
  3. Application Development Features
  4. Then check ASP.NET 4.5

This will select a few other bits for you and you should be good to go.

Follow britishdev on Twitter

11 comments:

  1. Legend, cheers buddy!

    Also worth pointin gout, if you (like me) installed IIS via the Web Platform Installer, then you will see the IIS ASP.NET 4.5 option in there, WPI won't install it by default, so get it from there instead of Windows Features if you installed via WPI.

    ReplyDelete
  2. Thanks for the information!

    I went on Web Platform Installer and selected the following:

    - IIS: ASP.NET 4.5
    - IIS: .NET Extensibility 4.5

    My error then went.

    ReplyDelete
  3. I realise this is off topic but while your blog looks nice it would be far better if you'll be able to use lighter colors too in the design. This will encourage a lot more readers come to check it out more often!
    selling a house fast

    ReplyDelete
  4. how I resolved, run the appwiz.cpl in command window , then from windows features uninstalled .NET 4.5 and install it again.

    ReplyDelete
  5. Thanks for this post. I appreciate it.

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete