Note: An error occurred while processing the configuration file required to provide services to the request. Check the following error details and modify the configuration file as appropriate. Analyzer error message: Unrecognized attribute "type ".

Source: Internet
Author: User
Tags configuration settings

Problem:

 

Note: An error occurred while processing the configuration file required to provide services to the request. Check the following error details and modify the configuration file as appropriate. Analyzer error message: Unrecognized attribute "type ".

 

Cause:

 

. Net version.

This issue occurs if you map application extensions on the IIS website to Microsoft. NET Framework 1.1 or Microsoft. NET Framework 1.0 .. Net Framework 1.1 and. NET Framework 1.0 cannot implement the configuration settings used by. NET Framework 2.0.
Note:: When you install ASP. NET 2.0, application extensions of the root website are not automatically mapped to. NET Framework 2.0 in IIS. This behavior is intended to ensure that existing applications that use. NET Framework 1.1 or. NET Framework 1.0 continue to run as expected.

 

 

 

Solution:

Method 1: configure the website to use ASP. NET 2.0
  1. Start Internet Information Services Manager.
  2. Expand the name of the desired computer, and then expand "website ".
  3. Right-click the desired website and click "properties ".
  4. Click the "ASP. NET" tab, and then click "2.0.50727" in the "ASP. NET version" box ".

    Note:: If you have installed. NET Framework 2.0 and "2.0.50727" is not displayed in the "ASP. NET version" box, go to the steps in the "If ASP. NET 2.0 is not installed" section.

  5. Click OK ".
If ASP. NET 2.0 Is Not Installed

If you have installed. net Framework 2.0, while "ASP. the "Method 1: configure the website to use ASP. "2.0.50727" is displayed in step 4 of the. NET 2.0 section. perform the following steps:

Note:: These steps install and register ASP. NET 2.0. However, this process will not modify any script ing.

  1. Log out of the Internet Information Services Manager.
  2. Click Start and run, type cmd, and click OK ".
  3. At the command prompt, type the following command:PathAspnet_regiis-IR

    Note::PathIs a placeholder for the folder where. NET Framework 2.0 is installed. (C:/Windows/Microsoft. NET/framework/v2.0.50727/aspnet_regiis.exe-I)

  4. Follow these steps to configure the website to use ASP. NET 2.0.
Method 2: Map Application Extensions to. NET Framework 2.0
  1. Start Internet Information Services Manager.
  2. Expand the name of the desired computer, and then expand "website ".
  3. Right-click the desired website and click "properties ".
  4. Click the "home directory" tab, and then click "Configure ".
  5. Under Application Extensions, click the desired application extension, and then click Edit ".
  6. In the executable file box, type the path of the aspnet_isapi.dll file in the Microsoft. NET Framework 2.0 folder on your computer.
  7. Click OK three times.

 

 

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.