If you have been trying to get .NET 1.1 applications running on Vista, I have found a blog entry that explains how this can be done.
Ensure that .NET 1.1 SP1 is properly installed. Vista does not include .NET v1.1 by default. Because .NET 1.1 is not included by default, .NET v1.1 SP1 is also not included. Without SP1, W3WP.exe will crash when running an appPool under v1.1 due to DEP To check this, make sure that "c:\Windows\Microsoft.NET\Framework\v1.1.4322\mscorsvr.dll" is version "1.1.4322.2032" or higher. Unless you are 100% sure that SP1 for .NET is installed, you *really* should double-check this.
Enable IIS 6.0 compatibility
1. Open "Control Panel"
2. Double-click "Programs and Features"
3. Expand "Internet Information Services"
4. Expand "Web Management Tools"
5. Check "IIS 6 Management Compatibility"
6. Register v1.1 with IIS
7. Open a CMD prompt
8. Change your directory to c:\Windows\MIcrosoft.net\Framework\v1.1.4322
9. Run "aspnet_regiis -ir -enable" "ir" registers v1.1 with IIS but doesn't change any existing script mappings "enable" marks aspnet_isapi.dll as "Allowed" under "ISAPI and CGI Restrictions" aspnet_regiis should also create a new AppPool under "Application Pools" called "ASP.NET 1.1" that is configured with the "Classic" pipeline, and "Enable32BitAppOnWin64" set to true if a 64-bit OS.
10. Make the new "ASP.NET 1.1" appPool the default.
Open the IIS manager
1. Select the "Web Sites" folder.
2. Under "Actions" on the upper right, click "Set Web Site Defaults..."
3. Change the "Application Pool" setting to "ASP.NET 1.1"
4. **Alternative step to 4** - Change the AppPool to "ASP.NET 1.1" after creating the ASP.NET project instead of making it the default.
5. Create the v1.1 ASP.NET project via Visual Studio. Attempting to run the project at this point will fail if the 1.1 appPool is not the default.
6. Right-click the newly create application directory and choose "Advanced Settings"
7. Change the "Application Pool" to "ASP.NET 1.1"
8. Go back to Visual Studio and attempt to run/debug project.
Thursday, January 31, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment