aspnet_wp.exe weirdness

G

Guest

I'm attempting to debug an ASP.NET Web application in VS.NET 2003. I'm
running the app and the debugger on my local machine (Windows XP
Professional). I am logged in as a local administrator. In order to rule out
permissions issues, I have set the processModel username to "SYSTEM" in my
machine.config.

Here's my problem: The ASP.NET app (compiled in debug mode) works correctly,
whether I start it with debugging (F5) or without (Ctrl+F5). However, the
ASP.NET worker process (aspnet_wp.exe) does not appear in Task Manager's
process list, nor in the Processes list of VS.NET's Attach Debugger dialog.
There are no errors in the Application Event Log.

Has anyone seen this before? Any suggestions as to how I can correct it?
Thanks in advance.
 
H

Hermit Dave

under 2003 to my knowledge aspnet runs from within w3wp.exe process.

on your 2k3 server you should see this process when you call an aspx page or
open the project in you client dev box
--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
 
S

Scott Allen

The only time I've seen this is when logged in under Terminal
Services. In this case you can check the "show processes from all
users" or "show processes from all sessions" check box.
 
G

Guest

More weirdness: If I add the ASPNET user to the VS Developers group and
insert a System.Diagnostics.Debugging.Break statement in my code-behind, then
I get a JIT Debugger popup asking if I want to debug the code in a new
instance of Visual Studio (bear in mind that I launched the app from within
Visual Studio). If I answer "Yes", a new instance of VS.NET is launched and
it attaches to aspnet_wp.exe. At that point I'm able to step through my
code-behind, etc.

So my question is, Why can't the first instance of VS debug, but a second
instance launched by the JIT Debugger can?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top