Unable to debug .net 1.1 applications after installing .net framework 2.0

.NET Framework 2.0 (CodeName: Whidbey) is the buzz word around and most of us would have installed the BETA versions to try our hands.

However, after you install .NET Framework 2.0, if you continue to use Visual Studio.NET 2003 you may be unable to debug the applications developed in .NET 1.1. You may receive the error "Unable to start debugging on the webserver..."

The reason is, as a part of installation, the framework registers the 2.0 version with the IIS using the aspnet_regiis.exe -i utility and the script mappings for the virtual directories get updated to 2.0 version.

Therefore, debugging .net 1.1 applications may fail.

The Resolution for this is to change the script mappings in the IIS - virtual directory settings for the application.

Once you install .NET Framework 2.0, you will be able to find the ASP.NET Tab in the Virtual Directory Properties in IIS.

The following steps provide resolution.

1. Type inetmgr from your command prompt

2. Expand the relevant nodes to select your Virtual Directory.

3. Right Click on the virtual directory and select properties.

4. You will be able to see the ASP.NET Tab which has newly come up.

5. Click on the ASP.NET tab.

6. You will be able to see a Dropdownlist with .NET 2.0 and .NET 1.1 versions listed.

7. Select the 1.1 Version and click Apply and then click ok

Now you will be able to debug your applications developed in .NET 1.1 using Visual Studio.NET 2003.

There are other errors that you may receive when running .net 1.1 applications after installing .NET 2.0. which I will explain in next article.

Happy Programming!

posted @ Monday, April 25, 2005 7:54 AM

Print

Comments on this entry:

# re: Unable to debug .net 1.1 applications after installing .net framework 2.0

Left by vasan at 3/17/2006 3:08 AM
Gravatar
I'm not able to get the newly generated tab called ASP.NET in IIS Virtual directory folder list. I have both vs2003 and vs2005 installed in my system and the above mentioned error is coming still. Please suggest

# re: Unable to debug .net 1.1 applications after installing .net framework 2.0

Left by Bob at 8/16/2006 2:16 PM
Gravatar
What you are saying is keep running the .NET 1.1 framework if you use Visual Studio 2003. What if you want to debug an application that is having issues with the .NET 2.0 framework.

# re: Unable to debug .net 1.1 applications after installing .net framework 2.0

Left by craig zhang at 11/24/2006 6:46 AM
Gravatar
oh, thanks very much. it worked very well.

# re: Unable to debug .net 1.1 applications after installing .net framework 2.0

Left by Jaya at 1/2/2007 7:26 AM
Gravatar
Once code written .NET 2003 has been debugged by making a call to the same from .NET 2005, and again is I try to open the .NET 2003 project I am unable to debug.
The error thrown is access denied, but I am an member in both administrator and Debuggers users group

# re: Unable to debug .net 1.1 applications after installing .net framework 2.0

Left by Jeff at 1/16/2007 7:10 AM
Gravatar
So bascially you are saying: If you installed the 2.0 Framework, you really can't take advantage of it by continuing to use Visual Studio 2003? I say this because are you not telling IIS to use the 1.1 version once you reset the asp.net tab? This is not really using the 2.0 Framwork is it?

# Michael Wright

Left by Lisa Jones at 4/19/2007 9:55 AM
Gravatar
The 9802 William Moore blog

# Christopher Brown

Left by Kimberly Gonzalez at 4/24/2007 4:05 PM
Gravatar
The 4120 Anthony Wilson blog

# Lisa Lee

Left by Margaret Lopez at 4/24/2007 10:36 PM
Gravatar
The 7635 George Hall blog

# re: Unable to debug .net 1.1 applications after installing .net framework 2.0

Left by sindhuja at 1/3/2008 4:25 PM
Gravatar
thanks a ton. this post was really helpfulto me. i was struggling for quite sometime, being unable to debug my solution and couldnot figure out the problem exactly. this one helped me resolve the issue. thanks.

# re: Unable to debug .net 1.1 applications after installing .net framework 2.0

Left by Satyam at 2/29/2008 10:23 AM
Gravatar
Thanks Harish !!

You help me go one step forward !!

Regards
Satyam

# re: Unable to debug .net 1.1 applications after installing .net framework 2.0

Left by mario oyunları at 9/21/2009 10:44 AM
Gravatar
The error thrown is access denied, but I am an member in both administrator and Debuggers users group

Your comment:



 (will not be displayed)


 
 
 
 
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345