Rajesh kumar’s Blog

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

  • Author

  • Rajesh Tweets

    Error: Twitter did not respond. Please wait a few minutes and refresh this page.

  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 2 other followers

Archive for December, 2010

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

Advertisements

Posted in IIS | 1 Comment »