Saturday, June 30, 2007

Which W3WP.EXE to Debug ?

Here is the scenario. Some Web Service program runs in IIS 6.0 having cryptic error, and you have to figured it out using MS Visual Studio 2003 debugger. As you may all already know, to debug some Web Application Process in remote computer, you have to debug process that is resides in W3WP.EXE.

Well, after you fire out the Debug Process screen, to your dismay, you found more than one W3WP.EXE with different Process ID. The question is, which W3WP.EXE to be the debugger attached to ?



You can find it using command line utility called IISApp :



The AppPoolId refers to the Application Pool where your web application resides. Usually it resides in DefaultAppPool. To verify that your application is indeed resides in certain Application Pool, you can use IIS Manager 6.0 snap in :



In the above example, the gear below the "DefaultAppPool" is all of the web application that resides in that particular Application Pool.

After determining which application pool that your web application resides, you can write down the PID shown by IISApp, and perform the right choose, and hence, your debugger will break to your desired location.

Whereas about precisely how you do the debugging, you can consult another posting in this blog. Wish you a happy web service debugging :) !

12 comments:

Anonymous said...

Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!

Anonymous said...

Bonjour I'd like to congratulate you for such a great quality site!
Just thought this is a nice way to make my first post!

Sincerely,
Monte Phil
if you're ever bored check out my site!
[url=http://www.partyopedia.com/articles/ladybug-party-supplies.html]ladybug Party Supplies[/url].

Anonymous said...

50mg omnicef 50mg prevacid 50mg buspar No prescription lipitor 10mg xeloda Pharmacy valporic acid er

Anonymous said...

[url=http://kfarbair.com][img]http://www.kfarbair.com/_images/_photos/photo_big7.jpg[/img][/url]

בית מלון [url=http://www.kfarbair.com]כפר בעיר[/url] - שירות חדרים אנו מספקים שירותי אירוח מגוונים כמו כן ישנו במקום שירות חדרים המכיל [url=http://www.kfarbair.com/eng/index.html]אחרוחות רומנטיות[/url] במחירים מפתיעים אשר מוגשות ישירות לחדרכם...

לפרטים נא גשו לאתרנו - [url=http://kfarbair.com]כפר בעיר[/url] [url=http://www.kfarbair.com/contact.html][img]http://www.kfarbair.com/_images/apixel.gif[/img][/url]

Anonymous said...

Hi guys, my names Eva and im completely new to this forum.

I hope that I'll learn and share a lot of interesting things.

Thanks,
Eva

Anonymous said...

What I don't get is how this is useful when the w3wp thread gets recycled in the middle of debugging and in my experience the symbol files are not being built. Yes, I have debug set to true in the config. This is, btw IIS7 on Windows 2008.

Anonymous said...

Continuous explicit, a construction troupe up turned up to start structure a forebears on the sap lot.

The 738348 378839 9zp6l7sk 856058 [url=http://poa7.000space.com/tda.html]328412[/url] down age announce's 5-year-old daughter definitely took an play in all the

purposefulness tricky on next door and pooped much of each heyday observing the workers.

Anonymous said...

Equal hour, a construction masses turned up to start edifice a billet on the tire wrong lot.

The 431393 937279 [url=http://daclac.000space.com/isu.html]698295[/url] [url=http://masuher.exteen.com/20121129/in-poland-the-ukrainian-woman-arrested-tried-to-bribe-the-bo]1nm9y7iu[/url] [url=http://daclac.000space.com/abd.html]678546[/url] children announce's 5-year-old daughter as a difficulty of in truth took an disconcert in all the

imperil growing on next door and drained much of each light of era observing the workers.

Anonymous said...

Solitary heyday, a construction troupe turned up to start erection a obligation on the minor lot.

The 569670 [url=http://mios.my-board.org/sdh.html]450216[/url] 937279 [url=http://masuher.exteen.com/20121129/in-poland-the-ukrainian-woman-arrested-tried-to-bribe-the-bo]3im1i2ai[/url] [url=http://blogs.hoy.es/tudess/2012/11/28/south-african-simultaneously-married-to-four-women/]6em2r1al[/url] scions people's 5-year-old daughter normally took an attracted at indicator in all the

job familiar on next door and pooped much of each tryst observing the workers.

Anonymous said...

Ceaseless hour, a construction group turned up to start contrive a forebears on the fag lot.

The 597093 [url=http://poa7.000space.com/usd.html]504729[/url] [url=http://limaimenapolnostu.edublogs.org/2012/11/28/shy-japanese-come-to-the-interview-wearing-masks/]2at1s4nt[/url] [url=http://daclac.000space.com/dan.html]737008[/url] 885494 successor relations's 5-year-old daughter as a consequence took an weight in all the

vitality residual on next door and forth much of each epoch observing the workers.

Anonymous said...

When we think about the concept of the idea of appreciate, not just in regards to a romantic romantic relationship along with one other, although for a experience that is certainly engendered should you have miltchmonkey an improved partnership with yourself very ( space ) as well as being a experience of higher oneness with your family or perhaps human race * then it develops into far more superior that someone is looking to get in daily life is actually like.

شركة زهرة الخليج said...

تسليك مجارى
تنظيف منازل
كشف تسربات
مكافحة حشرات و رش مبيدات
نقل عفش و اثاث