Unrecognized property "targetframework ". Note that the attribute names are in upper and lower case. Solution

Source: Internet
Author: User

Server error in the "/CRM" application. Configuration Error Note:An error occurred while processing the configuration file required to provide services to the request. Check the specific error information below and modify the configuration file as appropriate.

Analyzer error message:Unrecognized property "targetframework ". Note that the attribute names are in upper and lower case.

Source error:

Row 24: Set to true. Row 25: -->Row 26: <compilation DEBUG = "true" targetframework = "4.0"/>Row 27: <! -- Row 28: <authentication> saves enough energy to configure ASP. NET

Source file: E: \ net \ CRM. web \ WEB. config Row: 26

Version:Microsoft. NET Framework Version: 2.0.50727.4961; ASP. NET version: 2.0.50727.4955

 

Solution:

You can change the. NET Framework version to the corresponding version. This error occurs when I used to change from 2.0 to 4.0.

My win7 system,

1. Open IIS and click the IIS root node.

2. Check "operations" on the right and click "change. NET Framework Version"

3. Select the corresponding version number. Here I should select v4.0.30319 and click OK.

 

4. Click the IIS application pool.

 

5. In the "operations" column on the right, select "application default settings ..."

 

6. Set ". NET Framework Version Number" to v4.0 and click "OK.

7. Set the required version number to agree. Otherwise, the following error may occur:

Server Error in application "net/CRM"

Internet Information Services 7.5

Error SummaryHTTP Error 404.2-not found: the page you requested cannot be provided because of the "ISAPI and CGI restrictions" list setting on the Web server. Setting method: (1) Enable ISAPI and CGI restrictions

(2) Find the version number you need but are set to disagree with the execution,

 

(3) set the version number to be executed to "agree ".

Unrecognized property "targetframework ". Note that the attribute names are in upper and lower case. Solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.