Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 934
Parth Kalra Avatar asked Jul 08 '12 12:07

Parth Kalra


1 Answers

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

like image 155
John Mitchell Avatar answered Sep 25 '22 19:09

John Mitchell