Wednesday, May 20, 2015

Thursday, February 12, 2015

Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list

Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list

 

  Today when I was deploying a .NET application in a newly bult server I got an error "Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list".

I was bit surprised to see this error because I was doing a fresh installation on a fresh server. What my suspect was ASP.NET not installed properly on this server. Also that was the error message I was getting when I try to access the URL.

So I ran the below command to re-install the ASP.NET

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

You can run this from command prompt or directly in your RUN window which you can open by pressing window button + R