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.NETFramework64v4.0.30319aspnet_regiis.exe -i
If I had been on a 32 bit system, it would have looked like the following:
%windir%Microsoft.NETFrameworkv4.0.21006aspnet_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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…