N/APosted on - 10/12/2011
I was using Visual Studio 2005 when I had to debug an application I created. I chose native debugging.
Then, I opted for the Load DLL exports and enable RPC debugging when this message appeared, please see below.
I was just an ordinary user, and I didn’t know how to permit myself as an administrator. Can anyone guide me how to permit myself as an administrator?
Or, is there any other way to work around this thing?
Load DLL exports
Enable RPC debugging
To enable RPC debugging, Visual Studio must be running elevated with Administrator privileges.
Error when debugging using Visual Studio 2005
For the permissions for Visual Studio, you enable Visual Studio to perform all tasks related to features such as building and debugging applications, which might not work correctly under standard user permissions. To run it under permissions by these steps.
Go to the Start menu, right-click Microsoft Visual Studio 2005, and then click Run as administrator. Than in the User Account Control dialog box, click Continue and in the Microsoft Visual Studio dialog box, click Continue.
Now You can also create a shortcut that automatically runs Visual Studio under administrator permissions. To create a shortcut that runs it automatically. In Windows Vista, open Program FilesMicrosoft Visual Studio 8Common7IDE.
And Drag devenv.exe to the desktop. Now rename the shortcut. Right click new shortcut and then properties. Select shortcut tab and click advanced. Now click apply and then ok. So when you double-click on this Visual Studio shortcut, you will automatically start Visual Studio under administrator permissions.