I have an intermittent problem with visual studio unable to see the running W3wp.exe process when trying to attach to process, other instances of visual studio can see the process and restarting visual studio makes it appear in the attach to process list.
hitting the refresh button makes no difference and I can use the web application while unable to see the process in the list.
Any ideas?
If you can't find w3wp.exe then IIS is not currently running. Make sure that the IIS Admin service is started, the WWW service is started, the application pool is started and the IIS website itself is started. Are you using Local IIS ( w3wp.exe ) or VS Development Server ( WebDev.
Open Visual Studio in Administrator Mode, then Debug -> attach to process -> tick the check box "Show processes from all user", select w3wp.exe.
Via the Windows Task Manager, you can see processes named w3wp.exe. Within the IIS management console, you can view more details. Open IIS manager and on the left side click on the name of your computer. You will then see a similar list of icons on the right as shown in the screenshot below.
“An Internet Information Services (IIS) worker process is a Windows process (w3wp.exe) which runs web applications, and is responsible for handling requests sent to a web Server for a specific application pool.”
Ensure the checkbox for the 'Show Processes for All Users' is checked.
When on the 'Attach to Process' window in the bottom left there is a checkbox 'Show Processes for All Users'
Hope this helps you Kev Hunter!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With