Quickly determine which PID corresponds to which App Pool's w3wp.exe

This is a command that will quickly let you know which w3wp.exe you should be debugging on Server 2008 (IIS7, since the App Pool isn't listed in Visual Studio's 'attach to process' dialog).

go to \Windows\System32\inetsrv and run "appcmd list wp" and you'll get a list that associates App Pool and PID

Comments

Popular posts from this blog

ERROR: Failed to create feature receiver...

PowerShell code for looking up document properties

Connect-PnPOnline : For security reasons DTD is prohibited in this XML document. error