Visual Studio 2010 Attach Security Warning – Trying to attach to w3wp.exe

I recommend

When debugging web projects, I always use Attach to Process. Initially when attaching to the w3wp.exe process after a fresh Visual Studio 2010 install the following warning will popup every time:

Attach To Process Dialog

This will not do!

You can modify the following registry entry to stop this dialog from popping up:

 DisableAttachSecurityWarning Registry Entry

Set the value DisableAttachSecurityWarning to 1 under the registry key HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Debugger .

I believe this applies to Visual 2008 as well although you would use 9.0 instead of 10.0 in the registry key path.

I hope this helps :-)

Technical Visual Studio April 24, 2010


Comments