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.

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

  1. yoshelyn says:

    Hi, Thank you for this post, it is very helpful I deployed my website and its working perfectly

  2. Jeff says:

    Any other ideas this did not work for me.

  3. WishMesh says:


    You may need to change ‘v4.0.30319′ to your installed .NET version

  4. Michael says:

    Great Hint, works perfectly. Thanks!

  5. Paul says:

    That worked for me too – thanks.

  6. Febin says:

    Thanks its worked for me

  7. anil says:

    this worked for me (using .netv4 with iis7 and win 7).

  8. Luis says:

    it’s working perfect.

  9. david says:

    i am getting the same error but the tip didn’t work and the version is the same. any other ideas on what this could be?

    thank you!

  10. Michael says:

    Many thanks it worked perfect.

  11. Ali says:

    Thanks very much for this perfect line. It’s work perfect for my anf save my time and my work.
    100000000000000000000000 thanks.

  12. ndnoll says:

    This was great help. It solved my problem easily (I had to run command line as admin), but that was easily fixed.

  13. Tee says:

    Thanks!!!! Save my day…..
    Work like a charm!!

  14. Rui Marques says:

    100% right, I was forgetting the x64 path.

  15. setiri says:

    If this doesnt work, try a reboot and try again. That did it for me.

  16. Kevtheara Lim says:

    Thanks for this posting. It’s very important now my web server is fix. I can lounge my web site.


  17. Justin says:

    As if learning all this crap isn’t hard enough without stupid things like this popping up left and right. Thank you very much for posting this

  18. Steve says:


  19. Anonymous says:

    Ohhhhh Bigggg Thank you Very much very very much

  20. sean says:

    Still no luck for me. I have tried all these and same old error.

  21. Julian says:

    with %windir% it did not work for me. But as I took the complete Path (C:\Windows\…\aspnet_regiis.exe) it worked pretty well.

    So thanks a lot!

  22. peter says:

    your fix worked for me. Thanks a lot.
    The error message is lousy

  23. Shauny says:

    Hi guys
    I cant seem to get this problem resolved. I did solve it, the first time before I reinstalled IIS, now its back again , and I notice the solution is for IIS 7 , Win 7 and VS 2010 / .NET 4. I also have 2010, but I’m working on VS2008 which means .NET 3.5, so is there any other way around this

  24. Will says:

    This worked for me!! Thank you so much! <3

  25. Bert says:

    Ey thanX a lot it worked perfect!!

  26. Steven says:

    Thanks, that did the trick.

  27. Rusty Swayne says:

    Thank you very much! I have been searching around for an hour looking for a solution to this issue.

  28. KW says:

    Like a boss. Thanks!

  29. Half Blood Prince says:

    Thanks dear

  30. David Sukola says:

    A simple fix, thank you kindly!

    Of the 4 development servers I have, 1 decided not to register .NET with IIS 7.5. I was given the grand tour of the Microsoft campus, again, courtesy of the MSDN web site. All I wanted was a simple answer for a simple question and wound up clicking one link after another on MSDN. Should’ve googled it out of the gate . . . but nooooo,!

    I’ve bookmarked your site and will gladly recommend you to all! Thanks again


  31. Anonymous says:

    Great Post – Many thanks!

  32. Rachel says:

    Works! Thank you :)

  33. Joe S says:

    Thank you very much it worked for me as well.
    I had to run it twice though because the first time it gave me an error. The second time I run it, it did give me an error also but in a different section which did not error out the first time, then restated IIS and viola!

  34. Eric Marinko says:

    Thanks for your post, you just helped me get past this issue within a minute of running into it.

  35. abu says:

    Hi guys, i am getting this error and i was trying to understand what trick u guys used to solve it but i cudnt…………pls care to explain what i need to do. Thanks.

  36. konyeinchan says:

    in my machine
    for this path->%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
    aspnet_regii.exe does not exit,why?

  37. mlinaker says:

    Hi all

    For those that have tried the above above and still no luck, try changing the managed pipeline mode to classic. In IIS 7.5 click on ‘Application Pools’ then double click the relevant application pool in the right hand window. Change the ‘Managed Pipeline Mode’ drop down box to ‘Classic’ and click ‘OK’.

    Sorted it for me, hopefully it helps.



  38. Matheus Finotti says:

    Very tks man, fast solution

  39. Vince says:

    Thanks for the tip – it worked perfectly for me!

  40. Teddy says:

    It Worked for me 2. Thanks a lot.

  41. kiki says:

    Thank you so much! it solved my problem.

  42. Anonymous says:

    Thanks, It also working for me.

  43. Sirajz says:

    Thanks it is all working..

  44. Anonymous says:

    Thank you! I always forget about this step when setting up a new server.

  45. Sadin says:

    I dont have any “framework” folder in Microsoft .Net folder :( i installed framework 4 on my pc, i downloaded it and when i wanted to install ” repare or remove ” appeared !
    it means i have installed it.

  46. Anonymous says:

    woot! Thanks!

  47. Umut says:

    Thanks, u rock!

  48. SMw says:

    It works!! Thank you so much :)

  49. khush says:

    thanx a lot after so much effort i cudnt deploy it bt after reading ur post i cud successfully deploy my website

  50. khush says:

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

  51. 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 !

  52. 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.

  53. ali says:

    thanks really

  54. Sabbir Ahmed says:

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

  55. vaibhav says:

    Thanks Man Its great I solved my problem

  56. vikrant says:


  57. David says:

    Thanks so much!!!

  58. Morten says:

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

  59. Bjarte Aune Olsen says:

    Thanks for sharing, saved me a lot of time.

  60. Govind says:

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

  61. Anonymous says:

    great job :)

  62. JACK CATHELINE says:


  63. Somnath Machindar says:

    thank you very much.It resolve my problem

  64. prasad jachak says:

    Thanks You…solved it immidiately…

  65. Prof. No Time says:

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

  66. Zahra Gholami says:

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

  67. Nishant says:

    Thanx a lot,
    it’s working…

  68. hhh says:

    how do i run the commands

  69. avi says:

    Thank you sooooo much
    it really helped me :-)

  70. Anonymous says:

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

  71. Niels says:

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

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

  72. Joro says:

    thanks a lot your post was very usefull for me

  73. huskybhagyesh says:

    you’re awesome. This worked like a charm!

  74. Benny B says:

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

    Big up!
    Big up!

  75. 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..

  76. vamsi ravala says:

    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.

  77. Prageeth says:

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

  78. Mariya Gesheva says:

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

  79. Luciano says:

    YEAH! Thanks a lot!

  80. naveen says:

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

  81. omeii says:

    appreciate the help and the time it saved!

  82. Ranensol says:

    Spot on, fixed the issue for me, thanks!

  83. Anushree says:

    thanx a lot !!! God bless u :)

  84. LuthadoMan says:

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

  85. abhimnayu says:

    Thanks a lot

  86. 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….

  87. dev says:

    hi thanks lot.

  88. Anand says:

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

  89. Anonym says:

    Thank you, worked like a charm.

  90. Raemsh says:


    now my issue fixed.

  91. Enzo says:

    Thanks so much!!

  92. Denis++ says:

    Thank you very much!

  93. Rico says:


  94. Shwe Nann Thu says:

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

  95. Maquine says:

    Thank very much!!!

  96. Martin Ford says:

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

  97. Vpnslim says:

    Worked Great! Thanks!

  98. JT says:

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

  99. Chinamy says:

    Thnx a lot …:)

  100. Hemant Chauhan says:

    Thanks a lot…

  101. David says:

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

  102. Marc says:

    THANKS – I had this issue on my development machine

  103. Anonymous says:

    Thanks a lot…..

  104. Anonymous says:

    Thank you

  105. 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 ….

  106. Swapnil Khandode says:

    Thank you very much sir

  107. sivaraman says:

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

  108. Anonymous says:

    Thanks!!! Saved The WorlD!

  109. jiawei says:


  110. Alexandrov says:

    Thank you, sir!

  111. David says:

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

  112. trinesh says:

    Thank you very much dude.. That solved my issue

  113. Nipesh says:

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

  114. Anonymous says:

    Thanks !!!

  115. 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 “

  116. hossein says:

    THANKS – I had this issue on my development machine

  117. Sean Duarte says:

    You are number 1 in my book. Thanks

  118. 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!

  119. 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?

  120. Gagandeep says:

    thanks…..it works!!! :)

  121. sandesh says:

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


  122. Alain says:

    Thanks, it worked perfectly

  123. Doc says:

    This happens when VS2010 is installed after VS2012. I solved it by following Microsoft’s instructions from the following page:


  124. Anonymous says:


  125. Anonymous says:

    hi its working fine thank you so much

  126. Neeti says:

    Thanks a lot..

  127. Bharath says:


  128. lee says:

    thanks man

  129. Bunyamin Syuaip says:

    “%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i” works.

    Thank you!

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>

Current ye@r *