Configuring ASP.NET 1.1 websites on IIS 7.0
If you want to run your existing ASP.NET 1.1 websites under .NET Framework v1.1 please read this post Configuring .NET Framework 1.1 on windows vista and follow the below steps.
1. Open IIS 7 by going through Control Panel/Administrative Tools and please select the ISAPI and CGI Restrictions option from IIS section.
2. Allow the ASP.NET 1.1 in the ISAPI/CGI restrictions.
3. Make sure that your application pool should run in a 32-bit mode + v1.1 + classic mode.
Below are the commands using appcmd.exe tool which would do this.
appcmd.exe can be found under C:\Windows\System32\inetsrv.
- appcmd apppool set /apppool.name:”ASP.NET 1.1” /enable32BitAppOnWin64:true
- appcmd apppool set /apppool.name:"ASP.NET 1.1" /managedRuntimeVersion="v1.1"
- appcmd apppool set /apppool.name:"ASP.NET 1.1" /managedPipelineMode:"Classic"
- appcmd apppool set /apppool.name:"ASP.NET 1.1" /autoStart:true (optional)
4. Alternatively you can also use this option to run your application pool under .NET FW v1.1
Related Posts:
1 commentConfiguring .NET Framework 1.1 on windows vista
Configuring .NET FW v1.1 on Windows vista is bit tricky.
Here are the steps you need to follow
- Download .NET Fx from .NET FW v1.1 because by default vista come up with .NET FW v2.0 and v3.0.
If you install FW v1.1 alone at the end of installation you will get the following error
RegSvcs.exe – Common Language Runtime Debugging Services
——————————-
Application has generated an exception that could not be handled.
Process id=0×9a0 (2464), Thread id=0xf70 (3952).
Click OK to terminate the application.
Click CANCEL to debug the application.
—————————
OK Cancel
—————————
The above error is in .NET FW v1.1 which is known to occur on window vista.
This issue is resolved in Microsoft .NET FW 1.1 SP1, however you will need to use the following procedure
- Download .NET FW v1.1 SP1 .
- Save both installations to the same directory.
- Ensure that FW 1.1 Redistributable package name is dotnetfx.exe.If not change its name to dotnetfx.exe
- Ensure that FW 1.1 SP1 is named dotnetfxsp1.exe. If not change its name to dotnetfxsp1.exe
- Run the following 3 commands using the order shown
dotnetfx.exe /c:”msiexec.exe /a netfx.msi TARGETDIR=C:\<DirectoryName>”
dotnetfxsp1.exe /Xp:C:\<DirectoryName>\netfxsp.msp
msiexec.exe /a c:\<DirectoryName>\netfx.msi /p c:\<DirectoryName>\netfxsp.msp
- Install both Microsoft .Net Framework 1.1 and Service Pack 1 by running C:\<DirectoryName>\netfx.msi
Related Posts:
2 comments
![Recommend [kalyanms1]](http://s3.amazonaws.com/arkayne-media/img/badge/logo-recommend-badge-medium.png)