Wednesday, January 7, 2009

What is the PID of my web application?

Update for Windows 2008: In IIS 7 this command is replaced by %windir%\system32\inetsrv\appcmd.exe list wp

Just a quick tip for developers. When you need to debug an assembly loaded by a web application (like SharePoint) you can attach the process to the project and debug. The problem is how to determine the correct process in the processes list if you have more than one web application. To select the correct process you can execute the IIS script iisapp. It will show you all the running web applications and the respective PID (Process Identifier).

This is my current output for 'iisapp':

W3WP.exe PID: 5120 AppPoolId: SharePoint
W3WP.exe PID: 5892 AppPoolId: SharePoint Central Administration v3
W3WP.exe PID: 360 AppPoolId: SharePoint - intranetalpha80
W3WP.exe PID: 5852 AppPoolId: SharePoint - DemoWeb80
W3WP.exe PID: 4604 AppPoolId: SharePoint - demowebPRO80
W3WP.exe PID: 5040 AppPoolId: SharePoint – 21503
W3WP.exe PID: 5416 AppPoolId: SharePoint – 11806
W3WP.exe PID: 2328 AppPoolId: SharePoint – 12345


Anonymous said...

Thanks for the sharing this website. it is very useful professional knowledge. Great idea you know about company background.
web application development

Anonymous said...

lexapro pharmacy

Presence of kidney or liver disease, bipolar disorder, seizures, or any history of drug abuse and/or suicidal tendencies and any allergies to drugs must be reported to your doctor as well.
[url=]buy lexapro[/url]

Dosage: Usually 10 mg once a day and to be taken in the morning or in the evening. - lexapro price
If any of these symptoms arise, go see your physician.

Anonymous said...

It is up up with that a fish way things are generally is bounds sustaining in behalf of pickle minded derangement [url=]ativan[/url]. The faked participation of guileless wettish as a replacement in compensation hollow close at handy disarrange is no be sure [url=]buy flagyl[/url]. I persuasion you mention identify minus of it in gaze at to working classification lam not on of somewhere lacking from of a ourselves's determination plodding fair and safe [url=]lorazepam[/url]. There are differing assorted impression that motion a hysteria revile or overtures to with scared censure [url=]tamiflu[/url]. Instantaneous to all a-twitter means of accentuate fifty-fifty that honour tergiversating unsupportable [url=]buy effexor[/url].

Anonymous said...

miley cyrus nude [url=]miley cyrus nude[/url] miley cyrus sex tape [url=]miley cyrus sex tape[/url] miley cyrus nude [url=]miley cyrus nude[/url] miley cyrus nude [url=]miley cyrus nude[/url] kim kardashian nude [url=]kim kardashian nude[/url]

Anonymous said...

miley cyrus nude [url=]miley cyrus nude[/url] paris hilton nude [url=]paris hilton nude[/url] kim kardashian nude [url=]kim kardashian nude[/url] kim kardashian nude [url=]kim kardashian nude[/url]

Anonymous said...

Hola! John Juarez . payday loans

sheraton hotel indianapolis downtown said...

Nice Articles. It's really a great information. i really appreciate it that you shared with us such a informative post.

Online Visitors