AM22 Tech
»
Technical Discussions
»
Asp.net / Web development
»
Unrecognized attribute ‘targetFramework’. Note that attribute names are case-sensitive
 Rank: Guest
Joined: 12/12/2009(UTC) Posts: 540
|
Unrecognized attribute ‘targetFramework’. Note that attribute names are case-sensitive. Code:
Line 10: </connectionStrings>
Line 11: <system.web>
Line 12: <compilation debug="true" targetFramework="4.0"/>
Line 13: <authentication mode="Forms">
Line 14: <forms loginUrl="~/Account/Login.aspx" timeout="2880"/>
Any idea on how to solve this error?
|
|
|
|
|
|
|
|
|
|
 Rank: Administration
Joined: 1/9/2010(UTC) Posts: 449  Location: India Was thanked: 1 time(s) in 1 post(s)
|
The error indicates that your account is configured to run with the ASP.NET 2.0 framework, but your application is an ASP.NET 4.0 application.
To resolve the problem simply click the Applications Pools in IIS and change the .NET Framework Version to 4.0.
|
|
|
|
|
|
AM22 Tech
»
Technical Discussions
»
Asp.net / Web development
»
Unrecognized attribute ‘targetFramework’. Note that attribute names are case-sensitive
Forum Jump
You can post new topics in this forum.
You can reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.