Hi all,
I am playing with new IIS 7.5 of late and installed .NET 4 on my Windows 7 machine. I configured IIS to enable ASP.NET and other IIS 6 components. When I tried to browse to my local web site, IIS 7.5 welcomed with this error:
------------------------------------------------
HTTP Error 500.21 - Internal Server Error Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list.
--------------------------------------------
FIX:
ASP.NET has been not installed successfully. The following command installs the ASP.NET version that is associated with the version of the ASP.NET IIS Registration tool that you are using, and updates existing ASP.NET applications
Run this command to fix the issue:
%windir%\Microsoft.NET\Framework\v4.0.31319\aspnet_regiis.exe -i
and it work fine!
Cheers,