Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > aspnet_wp.exe weirdness

Reply
Thread Tools

aspnet_wp.exe weirdness

 
 
=?Utf-8?B?UGhpbCBXZWJlcg==?=
Guest
Posts: n/a
 
      09-14-2004
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.
 
Reply With Quote
 
 
 
 
Hermit Dave
Guest
Posts: n/a
 
      09-14-2004
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)
"Phil Weber" <> wrote in message
news:9BD6E089-CC5B-44C6-99D8-...
> 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.



 
Reply With Quote
 
 
 
 
Scott Allen
Guest
Posts: n/a
 
      09-14-2004
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.

--
Scott
http://www.OdeToCode.com

On Tue, 14 Sep 2004 12:57:04 -0700, "Phil Weber"
<> wrote:

>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.


 
Reply With Quote
 
Hermit Dave
Guest
Posts: n/a
 
      09-14-2004
my bad... for xp.. just click show Processes from all users under task
manager as scot suggested

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Phil Weber" <> wrote in message
news:A85B0E62-782E-4A43-9C82-...
> > under 2003 to my knowledge aspnet runs from within w3wp.exe process.

>
> Thanks, Dave, but I'm running on Windows XP, not 2003. Any other ideas?



 
Reply With Quote
 
=?Utf-8?B?UGhpbCBXZWJlcg==?=
Guest
Posts: n/a
 
      09-15-2004
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?
 
Reply With Quote
 
Scott Allen
Guest
Posts: n/a
 
      09-15-2004
Hi Phil:

This does sound odd, I've never seen anything like it.

On Tue, 14 Sep 2004 17:29:02 -0700, "Phil Weber"
<> wrote:

>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?


--
Scott
http://www.OdeToCode.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tkinter WEIRDNESS or Python WEIRDNESS? steve Python 4 03-13-2005 12:34 AM
Weirdness. Poly-poly man Firefox 1 03-02-2005 12:26 AM
Weirdness with FireFox Drude Firefox 2 02-19-2005 08:34 PM
POK Flag Weirdness wth binary files Wayne Myers Perl 1 05-27-2004 03:20 PM
Browser-blocking weirdness. Daniel Bell Firefox 2 08-11-2003 01:28 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57