Solved

Unrecognized attribute 'targetFramework'.

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

708 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

16 Experts available now in Live!

Get 1:1 Help Now