Solved

ASP.net 4.0 site error

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
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 …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

803 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