Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive

asp.net, hosting, visual-studio-2010, web

Solution

This normally happens when your application pool in IIS is set to 2.0 instead of 4.0

Problem

I have just uploaded my website on a hosting site. I get the following error while I try to access my site. Server Error in '/' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. ``` Line 7:<system.web> Line 8:<customErrors mode="Off"/> Line 9:<compilation debug="true" targetFramework="4.0"> ``` Please help, Thank You Parth.

Original source

Related problems