Solved

Unrecognized attribute 'targetFramework'.

Posted on 2011-03-04
2
801 Views
Last Modified: 2012-05-11
How can i fix this problem as i have set asp.net setting on my host panel to .net 4.
i am using vs2010 with .net4



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.

Source Error:

Line 9:    </connectionStrings>
Line 10:   <system.web>
Line 11:     <compilation debug="true" strict="false" explicit="true" targetFramework="4.0" />
Line 12:     <sessionState mode="InProc" timeout="60" />
Line 13:     <pages enableViewStateMac="false" />
0
Comment
Question by:jagguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 35036114
when do you have this error? when you open the project in VS2010? Or maybe you tried to open it in VS2008 (which won't work)? Or when you try to run it on your web server?
0
 
LVL 8

Accepted Solution

by:
Anurag Agarwal earned 500 total points
ID: 35036984
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question