Please visit my new home on GitHub to keep yourself up-to-date with what I am doing!
Sunday, 30 September 2012
Error: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list in IIS 7.5
The shocking screen of death appeared on Friday when I created a new web project on my new PC, which says 'Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list'.
IIS 7.5 Detailed Error - 500.21 - Internal Server Error
Server Error in Application "DEFAULT WEB SITE" Internet Information Services 7.5
[Error Summary] HTTP Error 500.21 - Internal Server Error Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list
[Most likely causes:] •Managed handler is used; however, ASP.NET is not installed or is not installed completely. •There is a typographical error in the configuration for the handler module list.
[Things you can try:] •Install ASP.NET if you are using managed handler. •Ensure that the handler module's name is specified correctly. Module names are case-sensitive and use the format modules="StaticFileModule, DefaultDocumentModule, DirectoryListingModule".
[Links and More Information] IIS core does not recognize the module. View more information »
By looking into the "Things you can try" and a bit of quick search, I realised it was my dodgy IIS that is causing the problem, which is essentially .NET is not registered with IIS. So I carry out the solution provided in "WIshMesh", and problem's solved!