Introduction
There are website. NET web applications built on ASP. NET 1.1 and 2.0, which run on the Windows server at the same time. The special case is in the web siteMain: There are some ASP. NET 1.1 projects built into the site:Proj1.1, Etc. And some ASP. NET 2.0 projects are added to it:Proj2.0, Etc.
- Main(1.1)
- Proj1.1(1.1)
- Proj2.0(2.0)
On a 32-bit Windows server, we can setup 1.1 or 2.0 web applications by "ASP. net tab in Internet Information Services (IIS) manager. on a 64-bit (x64) Windows server, there are some issues related to running ASP. and ASP. NET 1.1. NET 2.0 at the same time, for example, Asp. net tab is missing. this article describes some issues and their solutions.
If running ASP. and ASP. NET 1.1. NET 2.0 on the same x64 server at the same time, we must run IIS in 32-Bit mode [1]. 64-bit server doesn' t allow us to install ASP. NET 2.0 of 32-Bit mode, which means we need to install ASP. NET 1.1 of 32-Bit mode and ASP. NET 2.0 of 64-Bit mode. after installing them, we need to enable the 32-Bit mode on x64.
-
- Install IIS on Windows Server 2003 R2 x64
Control Panel | add or remove programs | Add/Remove Windows Components | Add the component "Application Server"It promptsConvlog.exe. You can find it in\ Windows \ servicepackfiles \ amd64.
It promptsIisback. vbs. You can selectIisback. VB _InC: \ amd64.
- download and install the 32-bit. NET 1.1 and 64-bit. NET 2.0 packages.
the packages can be found in:
- Microsoft. NET Framework Version 1.1 redistributable package
- the. NET Framework Version 2.0 redistributable package x64 (64 bit)
-
enable ASP. NET 1.1 and ASP. NET 2.0:
- enable the 32-Bit mode on x64 Windows server
cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
- install the version of ASP. NET 1.1 and the script maps at the IIS root and under
% SystemRoot % \ Microsoft. net \ framework \ v1.1.4322 \ aspnet_regiis.exe-I
- install the version of ASP. NET 2.0 (32-bit) and the script maps at the IIS root and under
% SystemRoot % \ Microsoft. net \ framework \ v2.0.50727 \ aspnet_regiis.exe-I
after installing ASP. NET 1.1 and 2.0, you will find them in IIS manager | web service extension. then enable the following services: Active Server Pages, Asp. net v1.1.4322, Asp. net v2.0.50727 (32-bit), Internet Data ctor, and service side between des.
- setup ASP. NET 1.1 and 2.0 applications
after creating the virtual directories for main etc. and different application pools for ASP. NET 1.1 and 2.0, you will find the ASP. net tab missing in IIS manager. microsoft does not fix "missing ASP. net tabs on Windows x64 servers ". but there is a workaround [2]. in our case, configure main using ASP. NET 1.1 version, which also applies to proj1.1 : % SystemRoot % \ Microsoft. net \ framework \ v1.1.4322 \ aspnet_regiis.exe-s w3svc/1/root/main .
then, configure proj2.0 to use ASP. NET 2.0 versions: % SystemRoot % \ Microsoft. net \ framework \ v2.0.50727 \ aspnet_regiis.exe-s w3svc/1/root/main/proj2.0 .