This blog entry is intended to illustrate the steps necessary to set up a Windows Vista machine to use Visual Studio 2003 (.NET 1.1). Most of the information was obtained from the following blogs:
Setup your user account as a local admin on the Vista machine and switch off the "user account control”.
Open Control Panel -> User Accounts.
Select “Change your account type”.
Select “Administrator” (if not already Administrator).
Press “Change Account Type”.
Select “Turn User Account Control on or off”.
Uncheck “Use User Account Control (UAC) to help protect your computer”.
Ensure your user account is included in the Debugger User group.
Note: It appears this is not possible in certain versions of Vista, such as Home Premium. Click the following link for more information:
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.
If you need to install .NET 1.1 SP1, you can download the upgrade here:
Enable IIS 6.0 compatiblity.
Open "Control Panel".
Double-click "Programs and Features".
Expand "Internet Information Services".
Click on “Turn Windows Features On and Off”.
Expand "Web Management Tools".
Check “IIS 6 Management Compatibility”.
Enable ASP.NET Application Development Features, if not already done so.
Expand “World Wide Web Services”.
Expand “Application Development Features”.
“.NET Extensibility”, “ISAPI Extensions”, and “ISAPI Filters” are dependencies, so they become automatically checked.
Register v1.1 with IIS.
Open a CMD prompt.
Change your directory to c:\Windows\MIcrosoft.net\Framework\v1.1.4322.
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" pipline, and "Enable32BitAppOnWin64" set to true if a 64-bit OS.
Make the new "ASP.NET 1.1" appPool the default.
Open the IIS manager.
Select the "Web Sites" folder.
Under "Actions" on the upper right, click "Set Web Site Defaults...".
Change the "Application Pool" setting to "ASP.NET 1.1".
**Alternative step to 7** - Change the AppPool to "ASP.NET 1.1" after creating the ASP.NET project instead of making it the default
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.
Open the IIS manager.
Right-click the newly create application directory and choose "Advanced Settings".
Change the "Application Pool" to "ASP.NET 1.1".
Go back to Visual Studio and attempt to run/debug project.
Adjust ISAPI and CGI restrictions in IIS.
Go into IIS
7.0 manager and select your server.
Select ISAPI and CGI restrictions.
Ensure ASP v1.1 has the restriction set to Allowed.
Launch Visual Studio 2003 as Administrator.
Create a simple web application with some event handling to test debugging (a button that displays text in a label control is what I used to test).
Attach to the w3wp.exe process.
Set breakpoints where appropriate.
Launch the website in a browser (eg.
Ensure your breakpoints are being hit.
Great tutorial but one thing, Step 7A. For those who don't know how to open ISS Manager, it would be good to show how to open it.
Excellent blog.It really helped me.
KeyLimeTie is a full-service design, development & digital strategy agency, helping clients communicate more effectively and intimately with their customers through interactive marketing channels.
Specializing in web and mobile application development across a variety of platforms, KeyLimeTie provides content management, ecommerce, and custom application solutions, while also assisting customers with social media campaign and reputation management.