Home > DeveloperSection > Forums > Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
Jayne Spooner
Jayne Spooner

Total Post:21

Points:147
Posted on    October-24-2015 4:37 AM

 IIS 7 ASP.Net  IIS 7  ASP.NET MVC 
Ratings:


 1 Reply(s)
 448  View(s)
Rate this:
I am configuring an MVC 3 project to work on a local install of IIS and came across the following 500 error:

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

It turns out that this is because ASP.Net was not completely installed with IIS even though I checked that box in the "Add Feature" dialog. To fix this, I simply ran the following command at the command prompt
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
If I had been on a 32 bit system, it would have looked like the following:

%windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i
My question is, is there a way to install IIS on a windows 7 box to use .NET 4.0 (MVC 3) without taking this extra step?


Linda Perla
Linda Perla

Total Post:13

Points:93
Supported
Posted on    October-24-2015 5:52 AM

It turns out that this is because ASP.Net was not completely installed with IIS even though I checked that box in the "Add Feature" dialog. To fix this, I simply ran the following command at the command prompt
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
If I had been on a 32 bit system, it would have looked like the following:
%windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i

Don't want to miss updates? Please click the below button!

Follow MindStick