RE: Unable to open Web Site in VS 2008 even with elevated privileges



The issue was with DCOM security settings. I had changed them and did not
remember doing it, 3 weeks later after finally rebooting my computer I
figured out the problem, reset the DCOM security settings that I had changed,
rebooted and everything was fine.

Here is the full cause and solution:

<a
href="http://chadscharf.com/post/2008/01/You-cane28099t-always-blame-Bill-when-Vista-breaks.aspx";>http://chadscharf.com/post/2008/01/You-cane28099t-always-blame-Bill-when-Vista-breaks.aspx</a>


"Chad Scharf" wrote:

OK, I just started getting this error yesterday and have not, for the life of
me, been able to open a single solution with a web project. I am running VS
2008 on Windows Vista Enterprise and am getting this error:

"Unable to open Web site 'http://localhost/CustomerService'. To access local
IIS Web sites, you must run Visual Studio in the context of an administrator
account. By default, Windows runs applications in a limited-privilege user
account even when you are logged on to the computer as an administrator. To
run Visual Studio with administrative privileges, right-click the Visual
Studio icon and then click 'Run as administrator'.

I've read the simple yet obvious and elementary knowledge base article on
running under elevated privileges, and have not only used the "Run as
Administrator..." option on the shortcut, directly on devenv.exe, and even
set the "Compatiblity mode", Run as Administrator option on devenv.exe and
the shortcut to it in the start menu, I went as far as to add myself to the
local administrators group on the machine and even tried turning off UAC
through the local policy console. Everything was working fine until yesterday
and I did not download or install any updates yesterday. The only new thing I
installed all week was Adobe Acrobat Pro 7.

Does anyone know why this is occurring? I know Visual Studio is running
under Administrator because it even says so in the title-bar ([Project Name]
- Microsoft Visual Studio (Administrator). This is so frustrating!

Thanks,
Chad
.



Relevant Pages

  • Re: user rights and group memberships of students using Visual Studio in a college classroom
    ... > I found another interesting document on development using Visual Studio ... > Is anyone in this group using this configuration? ... an Administrator user, and their clients work as Power Users, this might ... semi-isolated team development model with ASP.NET and remote server ...
    (microsoft.public.vsnet.general)
  • Re: Per-user Redirection
    ... Im using Visual Studio 2008 on a Windows Vista Business system. ... I am logged on as administrator. ... I have set the Per-user Redirection to "YES" in the linker ... I dont get the message any more, ...
    (microsoft.public.vc.mfc)
  • Re: problem writing to network drive, visual studio 2005 service pack 1
    ... is an enormous pain. ... this problem if I ran Visual Studio not as an administrator but when I ... I could stop using the standard account and run from ...
    (microsoft.public.dotnet.languages.csharp)
  • Per-user Redirection
    ... Im using Visual Studio 2008 on a Windows Vista Business system. ... I am logged on as administrator. ... 1>Project: error PRJ0050: Failed to register output. ... I have set the Per-user Redirection to "YES" in the linker ...
    (microsoft.public.vc.mfc)
  • Re: XP Home Firewall
    ... Rebooting to Normal Mode is just rebooting and not pressing F-8 to get ... > account I am the Administrator so I cannot "Change ... >>While in Safe Mode change your profile to Administrator. ...
    (microsoft.public.windowsxp.security_admin)

Loading