Hi,
When working on a shared environment with several web applications, attaching to IIS processes may cause a problem.
Developers have a nasty habit of attaching to all IIS process, thus making it impossible for other users to work on the server.
Finding the required process ID is quite simple, enabling you to attach only to the process you require.
Here goes:
Run iisapp.vbs from command prompt (Start –> Run –> cmd).
You’ll get something like this:
Note you get the application name and the processs ID (PID).
Now you attach to the process you need and leave the rest alone:
Important note:
When doing a IISRESET or recycling the application pool, the process ID changes.