473,383 Members | 1,815 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,383 software developers and data experts.

aspnet_wp.exe weirdness

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.
Nov 18 '05 #1
5 2258
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" <Ph*******@discussions.microsoft.com> wrote in message
news:9B**********************************@microsof t.com...
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.

Nov 18 '05 #2
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"
<Ph*******@discussions.microsoft.com> 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.


Nov 18 '05 #3
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" <Ph*******@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
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?

Nov 18 '05 #4
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?
Nov 18 '05 #5
Hi Phil:

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

On Tue, 14 Sep 2004 17:29:02 -0700, "Phil Weber"
<Ph*******@discussions.microsoft.com> 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
Nov 18 '05 #6

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

Similar topics

3
by: | last post by:
This question references to KB articles: http://support.microsoft.com/default.aspx?scid=kb;EN-US;315158 http://support.microsoft.com/default.aspx?scid=kb;EN-US;317012 I'm running Advanced Server...
0
by: Rob | last post by:
hi! i am running a aspnet-application on a machine with 1 gb ram. looking into the taskmanager, the aspnet_wp-process is going to use up to 60 megs heap memory and about 55 megs virtual memory....
2
by: Matt Sollars | last post by:
Hi all. I'm having a nasty problem. A client's website was originally written with classic ASP. They requested a new portion of the site that was deemed a perfect candidate for ASP.NET. So, .NET...
1
by: Ivan Towlson | last post by:
A colleague has just installed VS2003 on Windows 2000 and created her first simple Web application, and aspnet_wp is firing up only transiently, a new instance for each request. We first noticed...
2
by: Sidharth | last post by:
Hello, We are experiencing some issues with the aspnet_wp process on our live servers. The problems are intermittent and we cannot reproduce it on our dev and test servers. Currently around...
2
by: Marcin Belczewski | last post by:
I have a problem with aspnet_wp.exe on my Windows XP. When I start any of my web applications, webservices or even try to create asp.net project under vs.net - aspnet_wp.exe process starts -...
5
by: David Thielen | last post by:
Hi; I am creating png files in my ASP .NET app. When I am running under Windows 2003/IIS 6, the file is not given the security permissions it should have. It does not have any permission for...
1
by: Greg | last post by:
Hi, I have a web service that calls an an assembly on a server. My client calls the web service, the web service calls the assembly... very straightforward. I have noticed 2 things though...
2
by: JYA | last post by:
Hi. I was writing an xmltv parser using python when I faced some weirdness that I couldn't explain. What I'm doing, is read an xml file, create another dom object and copy the element from...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.