Unrecognized property "TargetFramework". Note that attribute names are distinguished from uppercase and lowercase. Method of error resolution

Source: Internet
Author: User

The server error in the "/CRM" application. Configuration Error Description: An error occurred while processing the configuration file required to service the request. Please check the specific error specific information below and change the configuration file appropriately.

Parser Error Message: Unrecognized property "TargetFramework". Note that attribute names are distinguished from uppercase and lowercase.

Source Error:

Line:             set to True. Line:-         line: <compilation debug= "true" targetframework= "4.0"/> line: <!--line 28:             

source file:E:\NET\CRM. Web\web.config Line:26

version number information: Microsoft. NET Framework Version number: 2.0.50727.4961; ASP. Version Number: 2.0.50727.4955

Workaround:

Change the. NET Framework version number to the corresponding version number, I used to be 2.0 to 4.0 when this error occurs.

My Win7 system,

1. Open IIS click IIS root node

2, see the right "operation"-"click" To change the. NET Framework Version number

3, select the corresponding version number, I should choose v4.0.30319 here, click OK

4. Click the application pool for IIS

5. On the right "action" tab, select "Application default Settings ..."

6. Set the ". NET Framework Version number" To V4.0, and click "OK" to do so.

7, set the required version number for consent, otherwise it will appear such as the following error:

Server error in Application "Net/crm"

Internet Information Services 7.5

Error Summary HTTP error 404.2-not found the page you requested is not available because of the ISAPI and CGI Restrictions list settings on the WEB server. Setup method: (1), open ISAPI and CGI restrictions

(2), to find the version number you need but is set to not agree to execute,

(3), the need to implement the version number is set to "agree", you can

Unrecognized property "TargetFramework". Note that attribute names are distinguished from uppercase and lowercase. Method of error resolution

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.