HANDLER “PAGEHANDLERFACTORY-INTEGRATED” HAS A BAD MODULE “MANAGEDPIPELINEHANDLER” IN ITS MODULE LIST

Jayne Spooner

Total Post:21

Points:147
Posted by  Jayne Spooner
 820  View(s)
Ratings:
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?
  1. Linda Perla

    Post:13

    Points:93
    Re: 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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!