Iis. net framework 1.0 2.0 Registration

Source: Internet
Author: User
Dhl: IIS registers ASP. NET 1.1, 2.0, and 4.0 _. If vs2010 is installed and iis7 is installed under win7, you must register iis for use .~~~!! Despise Microsoft

ASP. the NET version number can be set to 1.1, 2.0, or 4.0. If you want IIS to integrate all three versions, install NET Framework 3, disk C is installed by default.
IIS registration method: 1.1: C: \ WINDOWS \ Microsoft. NET \ Framework \ v1.1.4322 \ aspnet_regiis.exe-I
2.0: C: \ WINDOWS \ Microsoft. NET \ Framework \ v2.0.50727 \ aspnet_regiis.exe-I
4.0: C: \ WINDOWS \ Microsoft. NET \ Framework \ v4.0.30319 \ aspnet_regiis.exe-I

 

FAQ 2: Setting still not found after. NET 4 is installedWebsiteOfASP. NETASP. NET 4.0 option on the tab

This problem usually occurs when Microsoft. NET Framework 4 is installed before IIS6 is installed. In this case, you must enter the following command to register ASP. NET 4.0 with IIS6:

C: \ WINDOWS \ Microsoft. NET \ Framework \ v4.0.30319 \ aspnet_regiis.exe-ir-enable

 

 

FAQ 3: Install. NET 4 and set it.WebsiteThe ASP. NET 4.0 option still cannot execute the website

The "unable to execute Website" page appears.This page cannot be found(HTTP Error 404-the file or directory cannot be found). No matter how you set the Directory Security or any execution permission, you cannot execute any ASP.. NET program, and only static pages can be read, such as displaying such a general error message, IT is really easy for IT staff to wonder how IT is:

 

 

 

 

 

If you set "universal character application correspondence" for ASP. net mvc installation, you will find that all pages of the website, including static file reading, will respond.This page cannot be foundError!

 

 

 

 

This problem occurs because IIS6 blocks the execution of the c: \ windows \ microsoft.net \ framework \ v4.0.30319 \ aspnet_isapi.dll program. All requests directed to this ISAPI Handler will fail, therefore, all your HTTP requirements will get the HTTP 404 Not Found result.

The solution is simple, as long [Webpage Service ExtensionTo set ASP. NET v4.0.30319 [Allow], As shown in:

 


FAQ 4: The website platform of ASP. NET 4.0 has been set up and can be executed normally, but it will be suspended for a while!

If you are in the sameApplication assembly areaTwo different versions of ASP are set. NET will cause this problem, for example, you have an ASP.. NET 2.0 platform, and set the application assembly area to DefaultAppPool. However, you then added an ASP. NET 4.0 platform, and the default application assembly area is also in the DefaultAppPool, there will be a conflict, then you will see which platform is first executed, the platform that runs first will grab the ownership, and the one that runs later will cause the Server Application Unavailable or the Server Application cannot be used:

 

There are two solutions:

  • ShareWebsiteOrWebsite application (virtual directory)All are set to ASP. NET v4.0.30319
  • Distinguish two different application assembly zones

ASP. the NET version number can be set to 1.1, 2.0, or 4.0. If you want IIS to integrate all three versions, install NET Framework 3, disk C is installed by default.
IIS registration method: 1.1: C: \ WINDOWS \ Microsoft. NET \ Framework \ v1.1.4322 \ aspnet_regiis.exe-I
2.0: C: \ WINDOWS \ Microsoft. NET \ Framework \ v2.0.50727 \ aspnet_regiis.exe-I
4.0: C: \ WINDOWS \ Microsoft. NET \ Framework \ v4.0.30319 \ aspnet_regiis.exe-I

 

FAQ 2: Setting still not found after. NET 4 is installedWebsiteOfASP. NETASP. NET 4.0 option on the tab

This problem usually occurs when Microsoft. NET Framework 4 is installed before IIS6 is installed. In this case, you must enter the following command to register ASP. NET 4.0 with IIS6:

C: \ WINDOWS \ Microsoft. NET \ Framework \ v4.0.30319 \ aspnet_regiis.exe-ir-enable

 

 

FAQ 3: Install. NET 4 and set it.WebsiteThe ASP. NET 4.0 option still cannot execute the website

The "unable to execute Website" page appears.This page cannot be found(HTTP Error 404-the file or directory cannot be found). No matter how you set the Directory Security or any execution permission, you cannot execute any ASP.. NET program, and only static pages can be read, such as displaying such a general error message, IT is really easy for IT staff to wonder how IT is:

 

 

 

 

 

If you set "universal character application correspondence" for ASP. net mvc installation, you will find that all pages of the website, including static file reading, will respond.This page cannot be foundError!

 

 

 

 

This problem occurs because IIS6 blocks the execution of the c: \ windows \ microsoft.net \ framework \ v4.0.30319 \ aspnet_isapi.dll program. All requests directed to this ISAPI Handler will fail, therefore, all your HTTP requirements will get the HTTP 404 Not Found result.

The solution is simple, as long [Webpage Service ExtensionTo set ASP. NET v4.0.30319 [Allow], As shown in:

 


FAQ 4: The website platform of ASP. NET 4.0 has been set up and can be executed normally, but it will be suspended for a while!

If you are in the sameApplication assembly areaTwo different versions of ASP are set. NET will cause this problem, for example, you have an ASP.. NET 2.0 platform, and set the application assembly area to DefaultAppPool. However, you then added an ASP. NET 4.0 platform, and the default application assembly area is also in the DefaultAppPool, there will be a conflict, then you will see which platform is first executed, the platform that runs first will grab the ownership, and the one that runs later will cause the Server Application Unavailable or the Server Application cannot be used:

 

There are two solutions:

  • ShareWebsiteOrWebsite application (virtual directory)All are set to ASP. NET v4.0.30319
  • Distinguish two different application assembly zones

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.