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.

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

  1. Chinamy says:

    Thnx a lot …:)

  2. Hemant Chauhan says:

    Thanks a lot…

  3. David says:

    Fixed it, thanks!! Don’t ya just hate programmers with misnomer error messages, arg.

  4. Marc says:

    THANKS – I had this issue on my development machine

  5. Anonymous says:

    Thanks a lot…..

  6. Anonymous says:

    Thank you

  7. Avinash says:

    Sir i am following these steps and typing command in cmd prompt command is running successfully but project is not done same error’s are occurring…….. So sir please tell me the solution ….

  8. Swapnil Khandode says:

    Thank you very much sir

  9. sivaraman says:

    Yea Its working,… Thnks !!!!!!!!

  10. Anonymous says:

    Thanks!!! Saved The WorlD!

  11. jiawei says:

    thanks

  12. Alexandrov says:

    Thank you, sir!

  13. David says:

    Thanks for your post. Got the same error and the commands resolved it.

  14. trinesh says:

    Thank you very much dude.. That solved my issue

  15. Nipesh says:

    Thanks sir…………….. :)
    its works…

  16. Anonymous says:

    Thanks !!!

  17. Anonymous says:

    I have the same error but on a different module as shown below. I am unable to get this issue fixed with the fix given here. Could you please tell other possible ways to fix this error ?

    ” Handler “ExtensionlessUrlHandler-ISAPI-4.0_32bit” has a bad module “IsapiModule” in its module list “

  18. hossein says:

    THANKS – I had this issue on my development machine

  19. Sean Duarte says:

    You are number 1 in my book. Thanks

  20. Danny T says:

    I installed IIS 7.5 on my Windows 7 and this error occur when directory browsing. Default Web Site fine except subdirectory access have this error.
    I run it on the dos command and it works! That’s what I like about bing internet search. Good job!

  21. Sushil says:

    Sir I have the same problem but when i run this command in command promt it SAYS
    ‘%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i’ is not non internal or external command. how to fix this problem?

  22. Gagandeep says:

    thanks…..it works!!! :)

  23. sandesh says:

    C:\Windows\Microsoft.NET\Framework64\v4.0.20506
    ERROR REPORT
    HTTP Error 500.21 – Internal Server Error
    Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list

    WHAT CAN I DO NOW …?

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>