N/APosted on - 08/14/2011
I am not sure what happened to the attach functionality in Microsoft Visual Studio. Does anyone have any idea about the below error.
Microsoft Visual Studio
Unable to attach to the process. Attach is not enabled for this process with this debug type.
I am running Vista Ultimate with Microsoft Visual Studio 2008 installed on it. I don’t want to make a debugging from the start and the attaching a process was so convenient for me.
I will be thankful, if anyone aware of this error message could help?
Unable to attach to the process
This issue occurs when you're trying to debug a process is running into a different user account. MS windows will prevent the Microsoft Visual Studio debugger from attaching into a process which is running under a different account.
In working with this problem: Log into your administrator account and attached the Microsoft Visual studio 2005 debugger into the process. Then you will have to enable users to attach debugger into a process that is running in a different account. To enable users that are not administered to attach a debugger into a process running in under a different user follow these steps.
Login as administrator, click start and run type control admin tools then OK. Click the local security policy, while in the local settings click local polices double click User rights assignment then click debug programs.
While in the debug program and properties click add user or group then type the user of whom you want to have a permit then ok. In the Menu File click exit then close the Local security setting.