Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
This error message likes to appear when ASP.NET is not installed correctly. To fix it run:
aspnet_regiis.exe -i
form the appropriate framework directory e.g. in C:\Windows\Microsoft.NET\Framework\v4.0.30319
Seems to fix the problem most of the time!