Re: How do I debug a program in non-adminstator mode under Vista
- From: "Serge Wautier" <serge_dontusethisaddress@xxxxxxxxxxxxxx>
- Date: Wed, 14 Nov 2007 21:17:53 +0100
Dave,
You're not alone. IIRC, I get a message related to pdb files cannot be generated if I'm not an admin. Go figure...
Serge
http://www.apptranslator.com
"Dave" <Dave@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:6714D9B3-9029-4B8A-9861-ED8517ADB789@xxxxxxxxxxxxxxxx
Oh, well that's interesting, as everything I've read on the web, leads me to
understand that VS must be run as administrator (see
http://msdn2.microsoft.com/en-us/library/aa983432(VS.80).aspx - "You must
install Visual Studio 2005 Service Pack 1, or Visual Studio 2005 Service Pack
1 and Visual Studio 2005 Service Pack 1 Update for Windows Vista, and run
Visual Studio under administrative permissions for Visual Studio 2005 to be
supported on Windows Vista."
Also my experience leads me to think that this is the case - I cannot even
compile my project without running VS as administrator.
--
Dave
"David Hearn" wrote:
Dave wrote:
> I have just started using VS2005 under Vista, and I understand that VS > must
> be run in Adminstrator mode (although I don't fully understand why). > However,
> as far as I can tell this also means that when I run my app in the > debugger,
> it is also being run in administrator mode. I need to test that my > program
> works when not run as administrator. Is there any way to tell VS to run > the
> program not as adminstrator when it debugs.
VS2005 does not, as a fixed rule, *need* to be run as Admin, in fact, I
rarely, if ever, run it as Admin. There are some scenarios which it's
needed (I don't know what these actually are!), but for the stuff I do -
basic desktop Forms libraries/apps and Windows Mobile ones, I've not
needed to be admin and had no issues running as a standard user.
D
.
- Follow-Ups:
- References:
- Re: How do I debug a program in non-adminstator mode under Vista
- From: David Hearn
- Re: How do I debug a program in non-adminstator mode under Vista
- Prev by Date: Re: vcexpress - what's the story about mfc and atl ?
- Next by Date: Re: How do I debug a program in non-adminstator mode under Vista
- Previous by thread: Re: How do I debug a program in non-adminstator mode under Vista
- Next by thread: Re: How do I debug a program in non-adminstator mode under Vista
- Index(es):
Relevant Pages
|