Rajesh kumar’s Blog

If you have knowledge, let others light their candles at it.

Find Process Ids for web sites running under IIS 6

Posted by Rajesh Kumar on December 10, 2010

During the debugging, you can attach the current code from Visual Studio to hosted web service or application. This helps to debug the code in Visual Studio while requests are coming to IIS web service or application. However, this is possible only when you know the Process Id.

The below command display the list of process ids running under IIS:

cscript %systemroot%\system32\iisapp.vbs

You can get the result as:

image

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.