IIS 7.5 error: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list

Today I installed Clean Windows Web Server 2008 R2 64-bit with IIS 7.5. To my surprise opening .NET 4.0 application I received the following error:


IIS 7.5 Detailed Error - 500.21 - Internal Server Error


Server Error in Application "DEFAULT WEB SITE"
Internet Information Services 7.5


[Error Summary]
HTTP Error 500.21 - Internal Server Error
Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list


[Detailed Error Information]
Module IIS Web Core
Notification ExecuteRequestHandler
Handler PageHandlerFactory-Integrated
Error Code 0x8007000d
Requested URL http://localhost:80/default.aspx
Physical Path C:\inetpub\wwwroot\default.aspx
Logon Method Anonymous
Logon User Anonymous


[Most likely causes:]
•Managed handler is used; however, ASP.NET is not installed or is not installed completely.
•There is a typographical error in the configuration for the handler module list.


[Things you can try:]
•Install ASP.NET if you are using managed handler.
•Ensure that the handler module's name is specified correctly. Module names are case-sensitive and use the format modules="StaticFileModule, DefaultDocumentModule, DirectoryListingModule".


[Links and More Information]
IIS core does not recognize the module.
View more information »

As it turns out, some glitch caused this problem, and somehow .NET was not registered with IIS.

Running the following commands solved this issue:

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

This entry was posted in OS, Web and tagged , , . Bookmark the permalink.

106 Responses to IIS 7.5 error: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list

  1. khush says:

    thanx a lot it rly hepld me a lot in deplyoing my website :-)

  2. Oskar Charles says:

    Thanks for the comands, that fix my problem. I was getting the IIS server error:

    HTTP Error 500.21 – Internal Server Error Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list.

    Thanks !

  3. James says:

    Thank you for posting this. I spend 1 hour looking for a solution before I found one that worked which was this one. I and my client appreciate it.

  4. ali says:

    thanks really

  5. Sabbir Ahmed says:

    Thanks a lot. I try to find the solution from last 48 hours and at last ur tips works :)

  6. vaibhav says:

    Thanks Man Its great I solved my problem

  7. vikrant says:

    Thanx

  8. David says:

    Thanks so much!!!

  9. Morten says:

    Worked great! Can’t believe MS doesn’t check these things :-(

  10. Bjarte Aune Olsen says:

    Thanks for sharing, saved me a lot of time.

  11. Govind says:

    Thank you for sharing good information and really helpful for resolving HTTP Error 500.21 issue

  12. Anonymous says:

    great job :)

  13. JACK CATHELINE says:

    YES THIS COMMAND FOUND IN MY SOLUTION, I HAVE WINDOWS 7 64 BIT AND MY APLICATION RUNNING LOCAL.

  14. Somnath Machindar says:

    thank you very much.It resolve my problem

  15. prasad jachak says:

    Thanks You…solved it immidiately…

  16. Prof. No Time says:

    This has helped me twice. So thanks x2. Cheers.

  17. Zahra Gholami says:

    hi
    thanks for your solotion
    but i resive that error yet.
    pls solve my problem

  18. Nishant says:

    Thanx a lot,
    it’s working…

  19. hhh says:

    how do i run the commands

  20. avi says:

    Thank you sooooo much
    it really helped me :-)

  21. Anonymous says:

    i run this command in command prompt but still i am getting error .
    please help me .

  22. Niels says:

    This really works for me!!!
    Thx a lot..

    To hhh: windows-key + R –> type “cmd” –> enter –> type there

  23. Joro says:

    thanks a lot your post was very usefull for me

  24. huskybhagyesh says:

    you’re awesome. This worked like a charm!

  25. Benny B says:

    This post just straight-up saved my freaking *55 man!!

    Big up!
    Big up!

  26. Lata Tolani says:

    Huh :-x

    Tried this also, still getting same issue.

    Even changed App Pool and Mode still no output….

    Trying from last 48 Hrs its getting frustated…

    Please help me..

  27. vamsi ravala says:

    hi
    it is useful but small request i do not have admin rights so what to do now if this problem
    occur how i can solve please i want urgently.

  28. Prageeth says:

    Its really help me to deploy my solution.thanks ton.keep posting stuff like this.
    thanks again.

  29. Mariya Gesheva says:

    Thank you, Maris!!! Your article helped me a lot! Greetings from Bulgaria :)

  30. Luciano says:

    YEAH! Thanks a lot!

  31. naveen says:

    thanks buddy it help me lot ………………. keep gng ………

  32. omeii says:

    appreciate the help and the time it saved!

  33. Ranensol says:

    Spot on, fixed the issue for me, thanks!

  34. Anushree says:

    thanx a lot !!! God bless u :)

  35. LuthadoMan says:

    Thanks a lot – the command helped! Thumbs up…..

  36. abhimnayu says:

    Thanks a lot

  37. Shrilata says:

    Even after running the command , its not working for me…… I have deployed the Biztalk app on IIS and when run , its giving the same error….

  38. dev says:

    hi thanks lot.

  39. Anand says:

    Thanks a ton Man..couldn’t have been better…

  40. Anonym says:

    Thank you, worked like a charm.

  41. Raemsh says:

    Thanks

    now my issue fixed.

  42. Enzo says:

    Thanks so much!!

  43. Denis++ says:

    Thank you very much!

  44. Rico says:

    Gracias

  45. Shwe Nann Thu says:

    thanks a lot …
    it is really helpful to me :)

  46. Maquine says:

    Thank very much!!!

  47. Martin Ford says:

    Thank you so much…you saved me unknown amounts of time…

  48. Vpnslim says:

    Worked Great! Thanks!

  49. JT says:

    Thank you very much. This solved an issue that took me an afternoon to figure out!

Leave a Reply

Your email address will not be published.


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>