473,587 Members | 2,607 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to debug multiple ASP.NET projects simultaneously

Hi,

I was trying to debug two different ASP.NET projects at the same time. But I
was only able to debug one of them and I got the following error for the
other one:
"Unable to start debugging on the web server. A debugger is already
attached."

When I further checked the Output window, I noticed another error message:
'Auto-attach to process '[2248] aspnet_wp.exe' on machine 'CSSVR' failed.
Error Code 0x80040001 (Invalid advise flags).

Does it mean that I cannot debug 2 different ASP.NET application
simultaneously or there is some configuration that I need to do? Any help is
greatly appreciated.

Jimmy
Nov 17 '05 #1
1 3122
asp.net only supports one debugging session at a time, unless you switch to
iis 6.0 and mulitple application pools are used. (each pool can have one
debugger session).

you can debug two projects at once, but you can only use 1 debugging sesion.
to debug in your case, start one project with the debugger, then (using that
debugging session) open the file of the other project you want to debug and
set the breakpoint in it.

you can also just start the debugger (with a blank solution, attach to
asp_net.exe), then open files and set breakpoints at will.

-- bruce (sqlwork.com)

"Jimmy" <sh******@hotma il.com> wrote in message
news:eS******** *****@tk2msftng p13.phx.gbl...
Hi,

I was trying to debug two different ASP.NET projects at the same time. But I was only able to debug one of them and I got the following error for the
other one:
"Unable to start debugging on the web server. A debugger is already
attached."

When I further checked the Output window, I noticed another error message:
'Auto-attach to process '[2248] aspnet_wp.exe' on machine 'CSSVR' failed.
Error Code 0x80040001 (Invalid advise flags).

Does it mean that I cannot debug 2 different ASP.NET application
simultaneously or there is some configuration that I need to do? Any help is greatly appreciated.

Jimmy

Nov 17 '05 #2

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

Similar topics

1
3942
by: Jimmy | last post by:
Hi, I was trying to debug two different ASP.NET projects at the same time. But I was only able to debug one of them and I got the following error for the other one: "Unable to start debugging on the web server. A debugger is already attached." When I further checked the Output window, I noticed another error message: 'Auto-attach to...
3
289
by: jabailo | last post by:
I've built a remoting solution with a client and a server. I want to start the server, and then run the client against it. Since I can only make one project in a solution be the "Set As Startup Project" how can I start the server, and then start the client, both in debug mode?
0
969
by: Gaetan | last post by:
Hello I have lot of little application that i would like to debug at once. For the moment i use the "Multiple Startup Projects" settings but i would like to go further: start multiple application + start multiple session of a specific application, all in debug mode (of course), and the most important: when i stop one, the other should be...
5
6556
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development Environment" with this message: "Error while trying to run project: Unable to start debugging on the web server. Server-side error occurred on...
2
2252
by: njr | last post by:
Having copied a number of folders from my development PC (XP) to a development server (W2003) and installed them under wwwroot (and created applications in IIS) I have problems when I include the corresponding asp.net projects in a solution. They build fine but when attempting debug (via F5) I get "Load of property 'Output Path' failed. The...
0
2830
by: Michael R. Pierotti | last post by:
Has anyone seen this error before when trying to make the install on a program. ------ Starting pre-build validation for project 'HafaSMPPInstall' ------ WARNING: Unable to find dependency 'mscorlib' (Signature='B77A5C561934E089' Version='1.0.5000.0') of assembly 'Devshock.Protocol.SmppClient.DLL' WARNING: Unable to find dependency...
1
1756
by: UJ | last post by:
Is there a way when you have more than one project in a solution to debug each of them? The only way I've seen to be able to run the multiple pieces is to have one set as the default project and then run the executable for another. Problem is you can't debug the other one - only the one that is set to startup. TIA - Jeff.
5
15707
by: Arno | last post by:
reposted with the right microsoft managed newsgroup ID: Sorry for the inconvinience Hi, I've written a class for client-socket connection, but I get a lot of times the error message "Unable to read data from the transport connection" when restart reading the stream with socket.BeginRead in the Sub SocketIncomingMsg. I'm debugging now for...
0
937
by: =?Utf-8?B?U2VudGhpbCBSYWo=?= | last post by:
Hi, I am using Microsoft visual studio 2003 and the frame work version 1.1.4322 in Windows server 2003 I am not able to debug a webproject.While I am trying to debug a web projects, I am facing the following error window. Error while trying to run project:Unable to start debugging on the web server Click Help for more information.
3
2352
by: =?Utf-8?B?SmVmZnJleQ==?= | last post by:
Just started to test a VB.net 2002 project for ASP.net application. After successfully installed the VS.net 2002 and tested the IIS 5.1 on XP Pro SP2 for some classical ASP programs, I am starting to build ASP.net programs now. For a new ASP.net project, an error message (i.e Unable to start debugging on the web server) popped out. I...
0
7918
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...
1
7967
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
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...
0
6621
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...
1
5713
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...
0
5392
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3875
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.