Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2006

Tip: Looking for answers? Try searching our database.

Which "w3wp.exe" should I debug?...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zhenxin Li - 10 Jan 2006 09:53 GMT
Hello,

I want to debug a deployed web service in a remote server. The client is a set-top-box, so I can't debug the client and web service in a single machine.

There are many "w3wp.exe" processes in the server. I think only one hosts the web service that I want to debug. Which one should I debug? Are there any tools to discover the web services that w3wp.exe is hosting?

Best regards,
Zhenxin Li
Josh Twist - 10 Jan 2006 14:43 GMT
That's an interesting question. I'm not sure you can easily tell - I'd
love to know if there is a way.

In the meantime, could you not just attach to both processes?

Josh
http://www.thejoyofcode.com
Zhenxin Li - 11 Jan 2006 07:13 GMT
Not only two "w3wp.exe" processes. There are many of them...

> That's an interesting question. I'm not sure you can easily tell - I'd
> love to know if there is a way.
[quoted text clipped - 3 lines]
> Josh
> http://www.thejoyofcode.com
Martin Kulov - 11 Jan 2006 18:43 GMT
> Hello,
>
> There are many "w3wp.exe" processes in the server. I think only one hosts
> the web service that I want to debug. Which one should I debug? Are there
> any tools to discover the web services that w3wp.exe is hosting?

Hi Zhenxin,

you can query the command line parameters for each w3wp.exe process. IIS
starts each of them each application pool in a separate process using the
command line parameter -ap. See two examples of w3wp processes that run on
my machine.

c:\windows\system32\inetsrv\w3wp.exe -a
\\.\pipe\iisipmc6c05083-6966-4da1-a466-5ed454345a7c -t 20 -ap
"RemoteDiskAppPool"

c:\windows\system32\inetsrv\w3wp.exe -a
\\.\pipe\iisipm241feb80-cbce-4349-9325-7cc0c431b96a -t 20 -ap
"DefaultAppPool"

Best,

Signature

Martin Kulov
http://www.codeattest.com/blogs/martin

MCAD Charter Member
MCSD.NET Early Achiever
MCSD

Josh Twist - 06 Feb 2006 15:35 GMT
Maybe this will help:
http://technet2.microsoft.com/WindowsServer/en/Library/30b55aee-c3a4-402a-a98b-4
6fc194299ec1033.mspx


Josh
http://www.thejoyofcode.com/

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.