An ASP.NET Blog
I work for Microsoft and help people and businesses make better use of technolgy to realize their full potential. The opinions mentioned herein are solely mine and do not reflect those of my employer.

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

Monday, April 25, 2005 7:54 AM
.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!


Feedback

# Victor Boctor's Blog - Troubleshooting ASP.NET debugging problems

Victor Boctor's Blog - Troubleshooting ASP.NET debugging problems 5/6/2005 11:06 AM |

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

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 3/17/2006 3:08 AM | vasan

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

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. 8/16/2006 2:16 PM | Bob

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

oh, thanks very much. it worked very well. 11/24/2006 6:46 AM | craig zhang

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

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 1/2/2007 7:26 AM | Jaya

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

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? 1/16/2007 7:10 AM | Jeff

# Michael Wright

The 9802 William Moore blog 4/19/2007 9:55 AM | Lisa Jones

# Christopher Brown

The 4120 Anthony Wilson blog 4/24/2007 4:05 PM | Kimberly Gonzalez

# Lisa Lee

The 7635 George Hall blog 4/24/2007 10:36 PM | Margaret Lopez

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

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.
1/3/2008 4:25 PM | sindhuja

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

Thanks Harish !!

You help me go one step forward !!

Regards
Satyam 2/29/2008 10:23 AM | Satyam

Post a comment





 

Please add 8 and 8 and type the answer here: