I\'m running Visual Studio 2008 on Windows 7. When I try to attach to a process, VS tells me to restart under different credentials (with elevated permissions).
In my case the root of this issue was app.manifest file.
You can try to remove it along with all its references or you can also left it in a project and tune it appropriately.