search
top

Installing .NET 1.1 on Windows 2008 R2

Overview

This postexplains how to install .NET 1.1 on Windows 2008 R2. .NET 1.1 is not officially supported on Windows 2008 platform but can be installed and used. First IIS 7.5 must be installed with a few additional features.

 

Step 1: Install IIS and IIS 6 Metabase Compatibility

Open Server Manager and click on Roles.  In the right pane click Add Roles, click Next on the Before You Begin Screen. You will be presented with a screen for selecting the Roles. Select Web Server (IIS) and click Next and Next again.

 

You will be presented with additional components to install, for our selection pick Application Development and Management Tools. The Management Tools selection will add the IIS 6 Metabase Compatibility needed for .NET 1.1. Click next when the selections are completed and Install at the confirmation screen. Click close when completed.

Step 2: Install the .NET Framework v1.1 and .NET Framework v1.1 SP1

Framework v1.1, v1.1 SP1 and ASP.NET update can be found at  can be found at  Install Framework v1.1, SP1, and ASP.NET’s security update to SP1:

When you install .NET Framework Version 1.1, and SP1 for .NET Framework Version 1.1, you’ll see the following dialog.  Click Run program.

Next install .NET Framework Version 1.1 Service Pack 1. Double-click on NDP1.1sp1-KB867460-X86 to start the installation. As with .NET Framework Version 1.1 you will receive the Program Compatibility popup, click Run Program to continue.

Finally, install ASP.NET Security update by double-clicking in NDP1.1sp1-KB886903-X86 to start the installation. As with .NET Framework Version 1.1 you will receive the Program Compatibility popup, click Run Program to continue.

note: If you do not install Framework v1.1 SP1, you may run into Data Execution Prevention errors with messages like “IIS Worker Process has stopped working”.  This is expected.  Installing .NET Framework v1.1 SP1 will fix this.

Step 3: Enable ASP.NET v1.1 ISAPI Extension

Enable ASP.NET v1.1 ISAPI as an allowed ISAPI extension.  To do this, open “IIS Manager” administration tool.  In the features view, click on the “ISAPI and CGI Restrictions” feature.  In the actions pane, click “add”

You will see ASP.NET v1.1.4322 with the restriction of Not Allowed. We need to allow this feature by clicking on it and clicking Allow in the actions pane.

You can also do by running the following command line:

%windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis -enable

Step 4: Add IgnoreSection Handler to v1.1 machine.config

ASP.NET v1.1 will throw runtime exceptions out of the box if you have IIS configuration in the web.config files that are read by your ASP.NET v1.1 applications.  To make ASP.NET v1.1 ignore IIS configuration sections, open the Framework v1.1 machine.config file (%windir%\Microsoft.NET\Framework\v1.1.4322\config\machine.config) and add the following section entry just above the bottom tag for the <configSections> element:

<section name=”system.webServer” type=”System.Configuration.IgnoreSectionHandler,
System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″ />
</configSections>

Step 5: Move Site or Application to ASP.NET 1.1 Application Pool

During installation, Framework v1.1 creates an application pool called “ASP.NET 1.1” that is configured to load Framework v1.1 upon startup. You can also do this from the command line by navigating to the %windir%\system32\inetsrv directory and running the following command line:

appcmd set app “Default Web Site/” /applicationPool:”ASP.NET 1.1″

If you would like to create a new application pool that’s configured to load Framework v1.1, you can also do this from the command line by navigating to the %windir%\system32\inetsrv directory and running the following command line:

appcmd add apppool /name:”NewPool”  /managedRuntimeVersion:”v1.1″

4 Responses to “Installing .NET 1.1 on Windows 2008 R2”

  1. Nikko says:

    A simple fix, thank you kldiny!Of the 4 development servers I have, 1 decided not to register .NET with IIS 7.5. I was given the grand tour of the Microsoft campus, again, courtesy of the MSDN web site. All I wanted was a simple answer for a simple question and wound up clicking one link after another on MSDN. Should’ve googled it out of the gate . . . but nooooo,!I’ve bookmarked your site and will gladly recommend you to all! Thanks againDavid

    • Felix Tan says:

      Hi David

      I am felix Tan ,I have follow your procedure but still could not get it to work on the side. is there other things else that needed to take note.

      thanks for your kind sharing

      • newlife007 says:

        Getting .NET 1.1 in itself was tough enough to install. The only way to get a website to use it is from the command line once it is installed, it will not show up as a drop down selection in the application pools or anywhere else. What issue are you seeing?

  2. felix Tan says:

    Hi David

    I always have the error message
    Application has generated an exception that could not e handle
    Process id=0x640 (1600), thread id=0x864(2148)

    I am runing on 2008 r2 with full update, java is 6-12.

    If possible can send me a procedure on how to use power shell to install

    Thanks David

Trackbacks/Pingbacks

  1. Install .Net 1.1 Framework on Windows 2008 R2 | Wicky Hu's Blog - […] Link 1  Link 2 […]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

top