MOSS Debugging IIS7 get Application Pool Id

Hey guys,

if you debug a MOSS application on the server its always necessary to know which w3wp processId should be used for debugging.

With iis6 it was simple only open command prompt and enter iisapp, but in IIS7 this script does not exists anymore.

So how could we find out which ID the AppPool has?

Open an command prompt an enter the following code:

%windir%\system32\inetsrv\appcmd.exe list wp

A complete list of all AppPools with name and ID will be displayed to you.

greets


Posted Apr 01 2009, 04:45 PM by Nadine Storandt
Filed under: ,

Comments

Damir Dobric wrote re: MOSS Debugging IIS7 get Application Pool Id
on 04-01-2009 23:13

This "pool issue" follows us (mean developers) for at least 6 years. I'm asking myself, why VS-guys do not render the pool name in w3wp.exe process name?

If you are too lazzy, you cann attach to multiple processes during debugging session. Just select all of .NET w3wp.exe-s and attach.

Patrick wrote re: MOSS Debugging IIS7 get Application Pool Id
on 08-11-2010 11:11

This was exactly what I was looking for.

thx

developers.de is a .Net Community Blog powered by daenet GmbH.