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 / IDE / January 2008

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chad Scharf - 20 Dec 2007 16:56 GMT
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
Chad Scharf - 12 Jan 2008 06:12 GMT
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-b
reaks.aspx">http://chadscharf.com/post/2008/01/You-cane28099t-always-blame-Bill-
when-Vista-breaks.aspx</a
>

> 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
[quoted text clipped - 23 lines]
> Thanks,
> Chad

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.