473,701 Members | 2,603 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
Jul 19 '05 #1
1 3950
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

Jul 19 '05 #2

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

Similar topics

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?
1
336
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 process ' aspnet_wp.exe' on machine 'CSSVR' failed.
5
6572
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 sending debug HTTP request. Make sure the server is operating correctly. Verify there are no...
2
2254
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 'Output Path' must be under the project folder". The really strange thing though is that two...
0
2846
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 'mscorlib' (Signature='B77A5C561934E089' Version='1.0.5000.0') of assembly 'System.dll' WARNING: Unable to...
1
1761
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
15717
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 weeks, but I can't detect where it's
0
938
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
2360
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 disabled the ASP.net debugging for 3-4 projects. However, I either could not see the ASP.net...
0
8649
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
9229
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...
1
8977
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8934
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...
1
6571
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
5904
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4662
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3102
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 we have to send another system
3
2035
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.