473,804 Members | 3,190 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debug 2 ASP.NET applications- URGENT

Hi

Is it possible to debug 2 ASP.NET applications at the same time from a machine ?

I had tried out in Win 2000 professional and also in win 2003 server.

I end up getting this error message when I start debugging the second application

"Error while trying to run project: unable to start debugging on the web server. A debugger is already attached"

Any guess ? is it first of all possible to debug 2 web application simultaneously
from a server?

Regards
Nov 18 '05 #1
3 2306
As far as I know, the error message is correct. One debugger at a time per
box.
"Arcot" <Ar***@discussi ons.microsoft.c om> wrote in message
news:9B******** *************** ***********@mic rosoft.com...
Hi

Is it possible to debug 2 ASP.NET applications at the same time from a
machine ?

I had tried out in Win 2000 professional and also in win 2003 server.

I end up getting this error message when I start debugging the second
application

"Error while trying to run project: unable to start debugging on the web
server. A debugger is already attached"

Any guess ? is it first of all possible to debug 2 web application
simultaneously
from a server?

Regards


Nov 18 '05 #2
The debugger attaches to the worker process, so the answer is no. This is
the reason it is not wise to debug on a central server. The best method of
application development is local, where each team member has their own
"sandbox" to play in. While it seems convenient to work from a central
development server, debugging is just one issue.

Of course, distributed development necessitates some form of source control
system, like SourceSafe.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** ***
Think Outside the Box!
*************** *************** *************** ***
"Arcot" <Ar***@discussi ons.microsoft.c om> wrote in message
news:9B******** *************** ***********@mic rosoft.com...
Hi

Is it possible to debug 2 ASP.NET applications at the same time from a machine ?
I had tried out in Win 2000 professional and also in win 2003 server.

I end up getting this error message when I start debugging the second application
"Error while trying to run project: unable to start debugging on the web server. A debugger is already attached"
Any guess ? is it first of all possible to debug 2 web application simultaneously from a server?

Regards

Nov 18 '05 #3
I did however try creating different application pools under IIS 6.0, one for
each project, and then added each project’s application to their own application pool. This way it seems possible to debug multiple web applications at the same time. Is this a good solution ???

"Cowboy (Gregory A. Beamer) [MVP]" wrote:
The debugger attaches to the worker process, so the answer is no. This is
the reason it is not wise to debug on a central server. The best method of
application development is local, where each team member has their own
"sandbox" to play in. While it seems convenient to work from a central
development server, debugging is just one issue.

Of course, distributed development necessitates some form of source control
system, like SourceSafe.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** ***
Think Outside the Box!
*************** *************** *************** ***
"Arcot" <Ar***@discussi ons.microsoft.c om> wrote in message
news:9B******** *************** ***********@mic rosoft.com...
Hi

Is it possible to debug 2 ASP.NET applications at the same time from a

machine ?

I had tried out in Win 2000 professional and also in win 2003 server.

I end up getting this error message when I start debugging the second

application

"Error while trying to run project: unable to start debugging on the web

server. A debugger is already attached"

Any guess ? is it first of all possible to debug 2 web application

simultaneously
from a server?

Regards


Nov 18 '05 #4

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

Similar topics

2
1745
by: Philip | last post by:
My debugging capabilities within Visual Studio 2003 have stopped working. None of my applications created over the past year will run in debug (F5) mode. I created a simple "Hello World" application and it will not run in debug mode either. My applications run successfully using Skip Debug (Ctrl-F5) or when being launched from Windows Explorer. I attempted to repair the install, but the install hangs at "Generating Setup Script". I...
1
3470
by: glaserp | last post by:
Hi, I am developing a Windows application with C# in Visual Stuio .NET. My application references three assemblies that are developed in another project. I have added these assemblies as references, so that when I compile the project, the dll files and corresponding pdb files are are automatically copied to the bin\debug directory of my application. When I look at the Modules window during debugging, it seems that the debug symbols for...
4
2659
by: VicVic | last post by:
Dear Great Experts, I have a problem and need your help! We have a Flat DLL built in C++ (CCC), and on top of it, we built another DLL built in C# (SSS), which has .Net Assembly. CCC was imported into SSS. Now we build applications using SSS as a reference, and we found some problems exist in CCC. From our applicatyion, We can Debug into SSS, but cannot go further into CCC.
4
11146
by: Stephen Miller | last post by:
Hi, I am running v1.1.4322 on Win2K server and unable to debug a ASP.Net application running locally, using a full URL (ie www.mysite.com). When I hit F5, I get the following error message: <debugger_error_message> Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.
6
1863
by: Peter Afonin | last post by:
Hello: I'm running Windows server 2003. I've never had any problems with debugging, but now I cannot debug ANY of my projects. I'm getting this error: "Error while trying to run project: Unable to start debugging on the web server. Access is denied." The only thing I've done recently was installing all the latest Microsoft
1
1272
by: rob | last post by:
I have searched for MANY hours on the web but couldn't find any solution to the following problem: When I start my ASP.NET application with F5 I get the following error: "Error while trying to run project: Unable to start debugging on the web server. Click Help for more information." I did go throught he help and tried everything without success. I have also searched a LOT on the web and tried most of what was suggested
2
2075
by: NAGY | last post by:
hello, I created an asp.net web app in C# from a non administrative account in Visual Studio 2003, .net 1.1. when i try to run the application in debug mode from Debug start menu option, i get an error saying "Error while trying to run project : unable to start debugging on web server. Access is Denied". i searched for the solution on various web sites (msdn too) and the only thing i could figure out is " I Can actually Debug the asp.net...
8
1924
by: | last post by:
I'm starting up the development server myself and using the "Startup Url" property of the web project. The problem is i cannot debug. The debug symbols are never loaded. I realize they are under the temporary internet files folder but I have even tried using the new depoloyment addin-in but that does not seem to work either. There is a /bin folder with the debug symboles in there but it still does not load them up How can i include the...
1
1719
by: gfergo | last post by:
Good Morning, I seem to be having a problem. I thought I could display detailed debugging information (including file name and line number) on a page using two different methods: 1.) modify the debug attribute of the compilation element in the web.config file -
3
3380
by: =?Utf-8?B?bG10dGFn?= | last post by:
We have developed a number of different applications (ASP.NET web site, Windows services, DLLs, Windows forms, etc.) in C# 2.0. We have developed and unit tested all these applications/components using Debug mode. Now we are ready to compile everything for release to production. However, we don’t know whether we should compile all the applications/components/assemblies using Release mode (or keep everything in Debug mode). We’ve...
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10578
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10332
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10077
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9152
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7620
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5522
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.