HTTP Error 500.21 – Internal Server ErrorHandler "PageHandlerFactory-Integrated" has a badmodule "ManagedPipelineHandler" in its module list

After installing new IIS and copying new ASP.NET code at /wwwroot folder of inetpub and browsing  the index.aspx file from IIS it resulted in below error-

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

The issue is that ASP.NET is not registered in new IIS & it needs to be registered like below-

%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s