HTTP Error 500.21 - Internal Server Error - Simple Solution

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

If you getting above error after publishing your application in IIS 7 then following is the simplest solution for you.

  • Go to command prompt.
  • Navigate to C:\Windows\Microsoft.NET\Framework\v4.0.30319 path.
  • Then type aspnet_regiis.exe -i and hit enter.
  • If you got message like " installed suuccessfully" then you have done it then.
  • Remember you must have administrator rights to do the above procedure.


Popular posts from this blog

Restore the lost focus of Auto post back controls in update Panel control

Clone a generic list in C# using extension method

Add Comma automatically while entering amounts in textbox using Javascript