I have an application that works fine when run with administrator privileges. When run by a user it has problems reading from the Event Log. I would like to run the code in the debugger but not with my administrator settings. Is this possible in Visual Studio 2008 ?
In Visual Studio 2010 you can use VSCommands to debug with different permissions: Maybe it's time to upgrade ;)
Right click on the Visual Studio icon and select Run as...
:
There's also the runas.exe command you could use to start Visual Studio under a different account.
I have an application that works fine when run with administrator privileges. When run by a user it has problems reading from the Event Log. I would like to run the code in the debugger but not with my administrator settings. Is this possible in Visual Studio 2008 ?
In Visual Studio 2010 you can use VSCommands to debug with different permissions: Maybe it's time to upgrade ;)
Right click on the Visual Studio icon and select Run as...
:
There's also the runas.exe command you could use to start Visual Studio under a different account.
0 commentaires:
Enregistrer un commentaire