On 64-bit windows, how does one switch between 32-bit ASP. NET 1.1 and 64-bit ASP. NET 2.0?

Source: Internet
Author: User
IIS 6.0 supports both 32-bit and 64-bit modes. However, IIS 6.0 does not support running both modes on 64-bit windows. ASP. NET 1.1 only runs in 32-Bit mode. ASP. NET 2.0 can be run in 32-bit or 64-Bit mode. Therefore, if you want to run ASP. NET 1.1 and ASP. NET 2.0 simultaneously, you must run IIS in 32-Bit mode.

To switch between different ASP. NET versions, visit the following Microsoft Developer Network (msdn) website to download and install ASP. NET 1.1 and ASP. NET 2.0:
Http://msdn.microsoft.com/netframework/downloads/updates/default.aspx (http://msdn.microsoft.com/netframework/downloads/updates/default.aspx)
For example, if you are running Microsoft Windows x64 Edition, please download the following two types of reusable package: •. NET Framework Version 2.0 reusable package x64 (64-bit)
•. NET Framework Version 1.1 re-release component package
After you install the reusable package, you can switch between different versions of ASP. NET. To do this, complete the following steps for each ASP. NET version:
ASP. NET 1.1, 32-bit
To run the 32-bit version of ASP. NET 1.1, follow these steps: 1. Click Start, click Run, type cmd, and then click OK ".
2. type the following command to enable the 32-Bit mode:
Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
3. type the following command to install ASP. NET 1.1 and install script ing in the IIS root directory:
% SystemRoot % \ Microsoft. NET \ framework \ v1.1.4322 \ aspnet_regiis.exe-I
4. Make sure that the ASP. Net version 1.1.4322 is enabled in the Web Service Extension list of Internet Information Service Manager.

ASP. NET 2.0, 32-bit
To run the 32-bit version of ASP. NET 2.0, follow these steps: 1. Click Start, click Run, type cmd, and then click OK ".
2. type the following command to enable the 32-Bit mode:
Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
3. type the following command to install ASP. NET 2.0 (32-bit) and install script ing in the IIS root directory:
% SystemRoot % \ Microsoft. NET \ framework \ v2.0.40607 \ aspnet_regiis.exe-I
4. Make sure that the status of ASP. NET 2.0.40607 (32-bit) is enabled in the Web Service Extension list of Internet Information Service Manager.

ASP. NET 2.0, 64-bit
To run the 64-bit version of ASP. NET 2.0, follow these steps: 1. Click Start, click Run, type cmd, and then click OK ".
2. type the following command to disable the 32-Bit mode:
Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 0
3. type the following command to install ASP. NET 2.0 and install script ing in the IIS root directory:
% SystemRoot % \ Microsoft. NET \ framework64 \ v2.0.40607 \ aspnet_regiis.exe-I
4. Make sure that the ASP. Net 2.0.40607 status is set to allow in the Web Service Extension list of Internet Information Service Manager.

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.