Using ASP.Net 1.1 in IIS7 or IIS7.5

NOTE: .NET Framework 1.1 is not supported any more on Windows 8 and Windows 2012

I meet a customer that needed to install his ASP.NET 1.1 application on Windows server 2008R2 running IIS7.5 and I will resume the steps:

NOTE: It is important to say that for enterprise customer there is no official support over this configuration by Microsoft. So it is going to work but nobody at Microsoft is going to support you.

1. Install Management Tools --> IIS6 Management compatibility --> "IIS Metabase Compatibility" from Manage Role options. This is needed for .NET 1.1

2. Download and install Framework 1.1 (ASP.NET 1.1), SP1 and ASP.NET's security update to SP1.  Because win2008 only include Framework 2.0 and 3.5 (Not even .Net framework 4.0)

If you see this window:

 Click Run Program

3. Add ASP.NET v1.1 ISAPI Extension manually if it does not appear in the ISAPI and CGI Restrictions (This window)

 in order to add it manually:

ISAPI or CGI path: C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll 

Description: ASP.NET v1.1

 

4. Add IgnoreSection Handler to v1.1 machine.config if you have IIS configuration in the web.config files that are read by your ASP.NET v1.1 applications (an Exception will be throw if not)

add the following section entry just above the bottom tag for the  <configSections> element: 

 

<configSections>

..

<

sectionname="system.webServer"type="System.Configuration.IgnoreSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

</configSections>

  

5. Move Site or Application to ASP.NET 1.1 Application Pool (created when installing .NET 1.1)

It can be done via console or command prompt using appcmd tool

%windir%\system32\inetsrv\ appcmd set app "Default Web Site/" /applicationPool:"ASP.NET 1.1"

 

Done!!!

Now your ASP.NET 1.1 will run =)