473,506 Members | 14,630 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debugging mode failure

while trying to run this project. I recently loaded VS2005 onto my WinXP Pro
computer. Prior to that I was able to start my VS2003 ASP.NET apps in debug
mode.

When I attempt to do so now, I get "Error while trying to run this project.
Unable to start debugging on the web server.

I've checked all of the items listed in the accompanying help box but
everything seems to check out fine.

ANy help would be greatly appreciated.

Thank you, Herb
May 25 '06 #1
3 1234
Hi Herb,

Welcome to the ASPNET newsgroup.

From your description, I understand that you've installed VS 2003 on your
XP pro machine and currently you've also installed VS 2005 on it. However,
you are no longer able to debug ASP.NET application under VS 2003, correct?

As for the VS 2003's debugging issue, is it occuring right after you
installed the vs 2005 and is it always working correctly before you install
the VS 2005? Also, as for VS 2005, can you correctly debug ASP.NET 2.0
application(host in IIS rather than filesystem based) through VS 2005? If
the VS 2005 ASP.NET 2.0 debugging works well, I think the problem is
possibly caused by the IIS website/virtual directory's ASP.NET extension
mapping. For ASP.NET application, there exists application extension
mappings in the IIS's website or virtual directory setting. For example,
those asp.net specific extension (such as .aspx, .ascx, .asmx....) need to
be handled by aspnet_isapi.dll... However, different ASP.NET version has
different extension dll, and this will be automatically registered when we
intall .net framework (or VS IDE). Therefore, after you installed VS 2005,
the .net framework 2.0 installation has updated the application extension
mapping in IIS from ASP.NET 1.1 to ASP.NET 2.0. Thus, when you try running
ASP.NET 1.1 application, it actually run under asp.net 2.0 runtime, and of
course the VS 2003 IDE (which specific to .net 1.1) will fail to start
debugging on the ASP.NET 2.0 application process. You can open your IIS
manager to see whether the default IIS site or your original ASP.NET 1.1
application is currently configured as ASP.NET 1.1, there has a "ASP.NET"
tab in the IIS virtual directory's property dialog after you installed .net
framework 2.0, you can use this to switch the ASP.NET extension mapping
version for IIS website or application virtual directory.

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
May 26 '06 #2
Hey Steven,

Your suggestion worked like a charm... Thank you very much. My debugging
features for VS2003 have returned and I have fixed the issue that I was
trying to debug as well.

Thanks again for your quick and accurate response.

Herb

"Steven Cheng[MSFT]" wrote:
Hi Herb,

Welcome to the ASPNET newsgroup.

From your description, I understand that you've installed VS 2003 on your
XP pro machine and currently you've also installed VS 2005 on it. However,
you are no longer able to debug ASP.NET application under VS 2003, correct?

As for the VS 2003's debugging issue, is it occuring right after you
installed the vs 2005 and is it always working correctly before you install
the VS 2005? Also, as for VS 2005, can you correctly debug ASP.NET 2.0
application(host in IIS rather than filesystem based) through VS 2005? If
the VS 2005 ASP.NET 2.0 debugging works well, I think the problem is
possibly caused by the IIS website/virtual directory's ASP.NET extension
mapping. For ASP.NET application, there exists application extension
mappings in the IIS's website or virtual directory setting. For example,
those asp.net specific extension (such as .aspx, .ascx, .asmx....) need to
be handled by aspnet_isapi.dll... However, different ASP.NET version has
different extension dll, and this will be automatically registered when we
intall .net framework (or VS IDE). Therefore, after you installed VS 2005,
the .net framework 2.0 installation has updated the application extension
mapping in IIS from ASP.NET 1.1 to ASP.NET 2.0. Thus, when you try running
ASP.NET 1.1 application, it actually run under asp.net 2.0 runtime, and of
course the VS 2003 IDE (which specific to .net 1.1) will fail to start
debugging on the ASP.NET 2.0 application process. You can open your IIS
manager to see whether the default IIS site or your original ASP.NET 1.1
application is currently configured as ASP.NET 1.1, there has a "ASP.NET"
tab in the IIS virtual directory's property dialog after you installed .net
framework 2.0, you can use this to switch the ASP.NET extension mapping
version for IIS website or application virtual directory.

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 26 '06 #3
You're welcome Herb.

Glad to be of assistance. Have a nice day!

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 29 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
273
by: rosst | last post by:
After one too many loads of beta software I hosed one of my systems and have loaded everything fresh. OS is W2K pro with current service packs. I did not have any issues with any installations but...
16
1721
by: Dean R. Henderson | last post by:
I have a project built for ASP.NET that recently started running really slow in debug mode (it takes about 10 seconds or more to step from one line of code to the next). This just started...
0
3203
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
3
1488
by: Ben | last post by:
I am getting the debuggin error: "The breakpoint will not currently be hit. No symbols have been loaded for this document." Let me set the background here. Our debugging was working, our network...
6
1804
by: gerry | last post by:
I am almost at the end of my rope - I have to go through this process everytime a new version of studio is released or it is installed on a new machine - what a (^%&$^& pain. I am trying to...
83
3885
by: achintmehta | last post by:
I am working on MontaVista Linux on a PPC board. The compiler I am using is a gnu cross compiler cross compiler (ppc-82xx-gcc) The application/software that is being run, is messing up the...
4
7598
by: ian | last post by:
A few weeks ago I was able to run remote debugging from my local machine (VS 2005 XP sp2) but now I get the following message: unable to start debugging on the web server. logon failure: unknown...
0
7295
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
2
20814
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
0
7308
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7023
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5037
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1534
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
410
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.