Visual Studio 2010 - how to attach to w3wp
Posted on 2013-01-18
On my old PC which had Windows 2003 server I could attach the Visual Studio 2010 to the IIS' app pool process (w3wp.exe) to debug the native code. And I was not even administrator, if I remember that correctly, all that I need is to add myself to the Debugger group and make sure the account was listed in the "Debug Program" security policy.
After I upgraded to Windows 2008R2 OS, I can not do that anymore, the VS suggest to restart with the elevated rights. But I don't like that way, because then after I will have problems with access to the files created in such mode.
Is there a way to attach the VS 2010 to the w3wp process without running the VS as administrator on Windows 2008R2?
Please, don't suggest to work (run the VS) always as administrator and turn off the notifications in the Account Control Settings. Thank you.