Solved

ASP.net 4.0 site error

Posted on 2011-03-06
3
760 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
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

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

11 Experts available now in Live!

Get 1:1 Help Now