IIS 7.5 - HTTP Error 500.21 Internal Server Error PageHandlerFactory-Integrated

You have published a ASP.Net 4.0 Site from your dev environment to your production environment (could be Windows Vista, Windows 7 or Windows Server 2008), when you open the site, you get the below error.
HTTP Error 500.21 Internal Server Error PageHandlerFactory-IntegratedThe reason is you do not have .Net Framework 4.0 installed.

Follow the below steps, if it is Windows 7.
1. Enable ASP.Net in Windows 7
2. Install .Net Framework 4.0
3. Navigate to C:\Windows\Microsoft.Net\Framework64\v4.0.30319 and run aspnet_regiis -i

Do an IISReset, now your site should load fine!

Comments

Popular posts from this blog

Using External Content Types with Stored Procedures with Input Parameters

Windows 7 Blue Screen because of ConnectiFy

HTTPS Site InfoPath Issue : You do not have permissions to access a web service that provides data required for this form to function correctly