This article discusses how to switch between the 32-bit Microsoft ASP. NET 1.1 and the 32-bit and 64-bit versions of ASP. NET 2.0 on 64-bit Microsoft Windows. When both versions of ASP. net, if the two asp.. NET environment is running in Microsoft Internet Information Service (IIS) 6.0. You may receive an error message. For example, if ASP. NET is not correctly installed, you may receive the following error message from the webpage: Service unavailableApplication logs may record error messages similar to the following: Event ID: 2268 Source: W3SVC-WP Category: None Description: Unable to load all ISAPI filters for the site/service. So start to stop. Event ID: 2274 Source: W3SVC-WP Category: None Description: Unable to load ISAPI filter 'C:/Windows/Microsoft. NET/framework/v2.0.40607/aspnet_filter.dll 'due to configuration issues '. The current configuration only supports loading images created for the amd64 processor architecture. The data field contains the error number. To learn more about this problem, including how to handle Mismatch Errors for such processor architecture, Please access the http://go.microsoft.com/fwlink? Linkid = 29349. 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 ....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://msdn2.microsoft.com/en-us/netframework/aa731542.aspx (http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx)For example, if you are running Microsoft Windows x64 Edition, download the following two types of reusable package:
- . NET Framework Version 2.0, reusable component 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
- Click Start, click Run, type cmd, and click OK ".
- Run the following command to enable the 32-Bit mode: cscript % systemdrive %/inetpub/adminscripts/adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
- Run 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
- Make sure that the status of ASP. NET version 1.1.4322 is setAllow.
ASP. NET 2.0, 32-bit
- Click Start, click Run, type cmd, and click OK ".
- Run the following command to enable the 32-Bit mode: cscript % systemdrive %/inetpub/adminscripts/adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
- Run 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
- Make sure that the status of ASP. NET 2.0.40607 (32-bit) is setAllow.
ASP. NET 2.0, 64-bit
- Click Start, click Run, type cmd, and click OK ".
- Run the following command to disable the 32-Bit mode: cscript % systemdrive %/inetpub/adminscripts/adsutil. vbs set w3svc/apppools/enable32bitapponwin64 0
- Run 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
- Make sure that the status of ASP. NET 2.0.40607 is setAllow.
Note:: The internal version of ASP. NET 2.0 may change with the internal version of the current release. These steps apply to the internal version 2.0.40607. Technical support for Windows x64For information about Microsoft Windows XP Professional x64, visit the following Microsoft Website: Http://www.microsoft.com/china/windowsxp/64bit/default.mspx (http://www.microsoft.com/windowsxp/64bit/default.mspx)For information about Microsoft Windows Server 2003x64, visit the following Microsoft Website: Http://www.microsoft.com/china/windowsserver2003/64bit/x64/default.mspx (http://www.microsoft.com/windowsserver2003/64bit/x64/default.mspx) For the 64-bit windows and 64-bit versions. for more information about net framework, visit the following Microsoft developer netw... for the 64-bit windows and 64-bit versions. for more information about net framework, visit the following Microsoft Developer Network (msdn) Website: http://msdn.microsoft.com/library/default.asp? Url =/library/en-US/dnanchor/html/64bitwindows. asp (http://msdn.microsoft.com/library/default.asp? Url =/library/en-US/dnanchor/html/64bitwindows. asp) http://msdn2.microsoft.com/en-us/netframework/aa496329.aspx (http://msdn2.microsoft.com/en-us/netframework/aa496329.aspx) The information in this article applies:
- Microsoft Windows Server 2003, standard x64 Edition
- Microsoft Windows Server 2003, enterprise x64 Edition
- Microsoft Windows Server 2003, datacenter x64 Edition
- Microsoft Windows Server 2003, Enterprise Edition for itanium-based systems
- Microsoft Windows XP Professional 64-bit edition (itanium)
- Microsoft Windows XP Professional x64 Edition
Keywords: |
Kbhowto kbinfo kbwebserver kbconfig kb894435 |
|