Solved

ASP.net 4.0 site error

Posted on 2011-03-06
3
775 Views
Last Modified: 2012-05-11
I am doing a brand new site and before I can write one line of code, I already have an error that states the following:

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 'targetFrameworkMoniker'. Note that attribute names are case-sensitive.



<compilation debug="true" targetFrameworkMoniker=".NETFramework,Version=v4.0">
0
Comment
Question by:VBBRett
[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
3 Comments
 

Accepted Solution

by:
efibn earned 167 total points
ID: 35054194
Try to change the above line to:

<compilation debug="true" targetFramework="4.0" />
0
 
LVL 10

Assisted Solution

by:hosneylk
hosneylk earned 167 total points
ID: 35054232
0
 
LVL 8

Assisted Solution

by:Anurag Agarwal
Anurag Agarwal earned 166 total points
ID: 35055206
plc check

Target Framework Moniker
A Target Framework Moniker is a textual representation of a moniker that uniquely identifies a Target Framework.
It generally takes the form:
<Target Framework Identifier>,Version=v<Target Framework Version>,Profile=<Target Framework Profile>

Examples are:
      .NETFramework,Version=v4.0
      .NETFramework,Version=v4.0,Profile=Client
      Silverlight,Version=v3.0

Thus the Target Framework Moniker has at the most 3 components; the Identifier, Version and a Profile. The Identifier and the Version are mandatory while the Profile is optional.  

for more reference Concepts: Target Framework Moniker, Target Framework
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

707 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