Solved

ASP.net 4.0 site error

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Easy filter aspnet 2 35
Adding items to a C# list incrementally 5 62
YouTube API get the Video Tags - vb.net 7 31
Validation for Passport expiry in asp.net 2 13
This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
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 …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

733 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