Thursday, 13 March 2008

Determining the correct w3wp process

Determining the correct w3wp process can be a bit tricky. To isolate the correct process:
- From the server machine, open a command prompt
- Navigate to the System32 directory and run the following script: iisapp.vbs. This script will list all the currently running w3wp.exe processes, listing their PID and associated application pool id. The application pool id is the only relation between the pid and your application.
- Use the PID to identify the correct w3wp.exe on the “Attach to Process” screen.