Setup 64-bit Windows Server for running ASP. NET 1.1 and ASP. NET 2.0 at the same time

Source: Internet
Author: User
Tags windows x64
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.

  1. 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.

  2. download and install the 32-bit. NET 1.1 and 64-bit. NET 2.0 packages.

    the packages can be found in:

    1. Microsoft. NET Framework Version 1.1 redistributable package
    2. the. NET Framework Version 2.0 redistributable package x64 (64 bit)

  3. enable ASP. NET 1.1 and ASP. NET 2.0:

    1. enable the 32-Bit mode on x64 Windows server
      cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
    2. 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
    3. 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.

  4. 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 .

Related Article

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.