Solved

Unrecognized attribute 'targetFramework'.

Posted on 2011-03-04
2
792 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
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
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 …

790 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