Search This Blog

Tuesday, January 6, 2009

Getting the process id in Windows 2008 Server

While it was cscript iisapp.vbs in Windows 2003 (from \system32),
Windows 2008 has the following command for getting the process id:

appcmd list wp

appcmd is available in \system32\inetsrv
Both the commands are run from command prompt.

Why do we need these:

To attach to the correct W3p process from Visual Studio for debugging your application from Visual Studio .Net

No comments: