Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / March 2008

Tip: Looking for answers? Try searching our database.

VS2005 / W2k8: Administrator Privilegues Not Recognized - why?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Axel Dahmen - 10 Mar 2008 19:57 GMT
Hi,

I've just installed Windows Server 2008 + SQL Server 2005...

Coming with SQL Server 2005 is Visual Studio 2005. After I've installed all
required updates (VS SP1 + Vista, SQL SP2) I've started SQL Server Management
Studio and got a message that I need to be a member of the Administrators
group to use the full functionality of Visual Studio 2005.

Going into Tools > Options I've seen the RPC Debugging option disabled plus
a comment that this option is only available for members of the
Administrators group.

Well, on my server I *am* in fact a member of the Administrators group. So
why doesn't VS 2005 acknowledge this fact correctly?

Anyone knows how to set-up VS 2005 to correctly recognize that I'm a member
of the Administrators group?

BTW: Why is it a requirement at all to be a member of the Administrators
group? Usually there is a group called Debugger Users which should be
sufficient.

I haven't set up network settings in Windows Server 2008 yet, so it's still
using the default workgroup, no domains assigned yet.

TIA,
Axel Dahmen
Steven Cheng - 11 Mar 2008 03:44 GMT
Hi Axel,

Regarding on the VS 2005 prompt for admin permission you mentioned, is it a
dialog popup when you launch vs 2005 and recommend you run as admin
permission?

Based on my research, the behavior you met is probably the same as those
ones who get the "admin privilege" dialog when running VS 2005 on Vista.
This is because Vista and windows server 2008 include UAC which will make
your logon session under a normal low privileged token(even if your account
is an admin account). Sure, most of the developing tasks in VS will not
require admin privilege, and that message is just a recommendation in case
you may require to do some particular tasks such as debugging another
process running under different account...  

You can try either "run as admin privilege" when you launch your vs 2005  
or turn off UAC on the machine.

For thre admin privilege of VS 2005, here is a blog article which also
mentioned some about it:

http://blogs.msdn.com/michael_howard/archive/2007/01/04/my-take-on-visual-st
udio-2005-sp1-and-windows-vista.aspx

Best regards,

Steven Cheng
Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we

can improve the support we provide to you. Please feel free to let my
manager know what you think of

the level of service provided. You can send feedback directly to my manager
at: msdnmg@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: =?Utf-8?B?QXhlbCBEYWhtZW4=?= <keentoknow@newsgroup.nospam>
>Subject: VS2005 / W2k8: Administrator Privilegues Not Recognized - why?
>Date: Mon, 10 Mar 2008 11:57:00 -0700

>Hi,
>
[quoted text clipped - 24 lines]
>TIA,
>Axel Dahmen
Axel Dahmen - 24 Mar 2008 12:14 GMT
Hi Steven,

thanks for taking the time. Your help is quite appreciated! Sorry for me taking so long to reply.

Indeed, disabling UAC did the trick. Excellent!

But isn't disabling UAC/running as Admin commonly regarded as being unwise? I can imagine that during a long-taking debugging session I would not think of switching off Internet or anything else being similar harmful.

Regards,
Axel Dahmen

-----
> Hi Axel,
>
[quoted text clipped - 74 lines]
>>TIA,
>>Axel Dahmen
Steven Cheng - 25 Mar 2008 04:31 GMT
Hi Axel,

Thanks for your reply.

Yes, I agree that disabling UAC is not the good practice since it open your
server machine's attack surface. Since that dialog mainly suggest that
you'd better run as admin privilege when developing through VS 2005, I
suggest you always elevate as admin token when developing through VS 2005.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: "Axel Dahmen" <keentoknow@newsgroup.nospam>
>References: <4F119500-6D56-493D-9530-7DC45AF8520A@microsoft.com>
<xEtrfHygIHA.4672@TK2MSFTNGHUB02.phx.gbl>
>In-Reply-To: <xEtrfHygIHA.4672@TK2MSFTNGHUB02.phx.gbl>
>Subject: Re: VS2005 / W2k8: Administrator Privilegues Not Recognized - why?
>Date: Mon, 24 Mar 2008 12:14:44 +0100

>Hi Steven,
>thanks for taking the time. Your help is quite appreciated! Sorry for me taking so long to reply.
>Indeed, disabling UAC did the trick. Excellent!
>But isn't disabling UAC/running as Admin commonly regarded as being unwise? I can imagine that during a long-taking debugging session I would
not think of switching off Internet or anything else being similar harmful.
>Regards,
>Axel Dahmen
[quoted text clipped - 18 lines]
>>
>> For thre admin privilege of VS 2005, here is a blog article which also >
mentioned some about it:

http://blogs.msdn.com/michael_howard/archive/2007/01/04/my-take-on-visual-st
>> udio-2005-sp1-and-windows-vista.aspx
>>
[quoted text clipped - 31 lines]
>>>
>>>Going into Tools > Options I've seen the RPC Debugging option disabled >
plus
>>>a comment that this option is only available for members of the
>>>Administrators group.
[quoted text clipped - 16 lines]
>>>TIA,
>>>Axel Dahmen

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.