internal server error pagehandlerfactory-integrated

From WebHostingNeeds.com
Jump to: navigation, search

On Windows Server 2008 R2 64 bit websitePanel server, aspx pages show Error

500 Internal Server Error 

To get detailed error Edit web.config file in web site wwwroot folder.

web.config

Add the following line before </system.webServer> tag.

<httpErrors errorMode="Detailed" />

Now web site will show detailed error message.

On our installation, we get following error

HTTP Error 500.21 - Internal Server Error
Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list

We fixed it by running

%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe –i

After this, we restarted IIS

net stop w3svc
net start w3svc

Websitepanel

WebsitePanel errors