Point Deep

Mundeep's Tech Blog

Posts Tagged ‘application pool’

Attaching to the right process when debugging

Posted by mundeep on August 18, 2011

A common problem when trying to debug an ASP.NET web application (including SharePoint based solutions) is determining which w3wp.exe process to attach to. Thankfully there are a couple of commands to help out.

If using IIS7:
c:\Windows\System32\inetsrv\appcmd list wp

If using IIS6:
cscript c:\WINDOWS\system32\iisapp.vbs

Source: http://stackoverflow.com/questions/748927/iis-application-pool-pid

Advertisements

Posted in .NET | Tagged: , , , , | 2 Comments »