Solved

Unrecognized attribute 'targetFramework'.

Posted on 2011-03-04
2
784 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

813 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now