WCF – Error 500.21 Handler "svc-Integrated" has a bad module "ManagedPipelineHandler" in its module list"

WCF – Error 500.21 Handler “svc-Integrated” has a bad module “ManagedPipelineHandler” in its module list”

If you  see this error you havent installed the prerequistes for ASP.NET 4.

Try this

  1. Open Visual Studio Command Prompt
  2. Type the following: 
    1. aspnet_regiis.exe -i
  3. Run the command
  4. Try your service again…
  5. Happy Face – it should be working 🙂

This basically installs the necessary ASP pieces to get your service up and working!




Comments (59)

  1. Bogdan Maxim says:

    aspnet_regiis.exe -i not -1

  2. Celtic_Guy says:

    Thanks.. typo fixed!

  3. IVAN FRANCO says:


  4. Alfes says:

    Thanks a lot for this!

  5. Hari says:

    Wow. This saved me. Thank you.

  6. Mansi says:

    thanks buddy!!

  7. Vivian says:


  8. Thank you! says:

    Thank you!

  9. ursri says:

    Thanks a ton

  10. Imran says:

    Thank you. It works!

  11. Reda says:

    Thanks a lot.

  12. Pumax says:

    Thanks, It works !

  13. Mathieu says:


  14. Udit says:

    Thanks allot. It worked

  15. ilango says:

    Thanks a lot pal.

  16. Catur says:


    it's work for me.

  17. ran says:

    thanks a million, that did it!

  18. Steady says:

    happy days 🙂

  19. Me says:

    very happy face

  20. VenCKi says:

    Ultimate – Thank you…

  21. Sushma says:

    Thank you

  22. Olivier says:

    That's great, thanks a bunch.

  23. Ramanujam R. says:

    Thank's a lot

    Thank you very much

    I spent half day but now only i got solution

  24. Ted Campbell says:

    Solved my problem.  Thanks very much.

  25. Joel says:

    Worked like a champ.  Thanks!

  26. Zehan says:

    Thanks it realy helped 🙂

  27. Tony says:

    Fixed my issue. Thanks!

  28. Thanks says:

    A week with trouble! you're great… thanks

  29. satish says:

    Thanks 🙂

  30. Eson says:

    I get this!

    Start installing ASP.NET (4.0.30319.17929).

    This option is not supported on this version of the operating system.  Administr

    ators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Win

    dows Features On/Off" dialog,  the Server Manager management tool, or the dism.e

    xe command line tool.  For more details please see http://go.microsoft.com/fwlin


  31. Bernie says:

    Very precise and accurate solution.

    Thank you.

  32. Baiju says:

    it doesn't work for me. when i enter above command in command prompt.showing error.

    ie administrative rights need.

    how to solve this

  33. Celtic_Guy says:

    Baiju run the command prompt as Administrator but to do that you will also need admin level user privileges.

  34. Edwin says:

    Happy face 🙂

  35. loumisify says:

    thank you very very much!!! you made my day!

  36. kashave Kumar says:

    thanks for wonderfull tips

  37. Kashif says:

    Thanks, I wish I have found this couple hours earlier… 🙂

  38. Sandeep says:

    Thank you soo much it fixed my error….

  39. Eduardo says:

    Thank you so much!! It works!

  40. Tufo says:

    Thank You, solved

  41. Ranga says:

    Thanks mate

  42. Leonardo says:


  43. Dushyant says:

    Thanks buddy

  44. Zahid says:

    Thanks……. its working perfectly..

  45. Joel says:

    I see a lot of people have said thanks over the years since you posted this awesome answer.  I just want to say thank you as well.  Nice work.

  46. Gary says:

    You, dear sir, are a gentleman and a scholar

  47. BFSG says:


  48. FIHG says:

    Keep saving asses!!! Thanks!!!

  49. fabio says:

    thank u so much!

  50. Bibhuti says:


  51. Gaurang says:

    Thanks it is helpful

  52. Dinesh Joshi says:

    aspnet_regiis.exe -i

    After execute this command. Showing Error

    An Error has occurred: 0x8007b799

    You must have administrative rights to run on this machine in order to run this tool.

  53. Laxmikant Naik says:

    I successfully reached Step # 5- Happy Face 🙂

    Thank you

  54. ilya83 says:

    tanks 10000 million

  55. Meenakshi says:

    Thanks a lot …  🙂

  56. Om Yadav says:

    Thanks a lot… After use command my wcf service successful run……….:)

  57. Marcos Soares - Slipmp says:

    That was a quick fix, Thank you sir!