473,322 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 3916
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******@hotmail.com> wrote in message
news:eS*************@tk2msftngp13.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
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...
1
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...
5
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...
2
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...
0
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...
1
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...
5
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...
0
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...
3
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.