views:

212

answers:

2

So. I'm using V2010 release on Windows 7. And it doesn't attach automatically. How can I enable to auto attach?

Thanks in advance.

A: 

Are you using your local IIS server or the Visual Studio Development Server? if you are using the local IIS server you'll need to open Visual Studio 2010 as administrator to be able to debug and open web projects.

Ricardo
Yes. The project is open as administrator, and I debuging local IIS server. And it always asks for permission to attach to IIS.
Igor
A: 

You can fix this by setting a regestry value to 1.

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Debugger\DisableAttach\SecurityWarning

as per this link

James