Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Visual Studio 2008 - Unable to open the Web Site. ‘http://localhost/DotNetNuke_Community’Visual Studio 2008 - Unable to open the Web Site. ‘http://localhost/DotNetNuke_Community’
Previous
 
Next
New Post
7/26/2009 1:32 AM
 

 Window Vista Business Edition, Visual Studio 2008, DotNetNuke 05.01.00

I have already unzipped DotNetNuke_Community_05.01.00_Source, and set up DotNetNuke at http://localhost/DotNetNuke/. Application is working fine by using the above url, and I can even create web pages.

But when I open DotNetNuke_Community_05.01.00_Source\DotNetNuke_VS2008.sln, I get the following message 
 
Unable to open the Web Site. ‘http://localhost/DotNetNuke_Community’. To access local IIS Web sites,  you must install the following IIS components:  In addition, you must run Visual Studio in the context of an administrator account.
 
Again, I even created a web site with http://localhost/DotNetNuke_Community/; it still doesn’t work in VS 08. As the result, web site is not avaiable in DNN solution. Am I missing any steps?
 
Thanks in advanced and thank you so much for your comments!!!
 
 
New Post
7/26/2009 4:54 PM
 

When you run VS2008 that accesses an IIS site you need to run VS2008 as an administrator.

1) Click on link you use to run VS2008.
2) Click Advanced button.
3) Check "Run as Administrator" checkbox.

Now everytime you run VS you will be running it as an administrator.  This should take care of the issue you are having.

FYI: In Win7 (might be the same in Vista), you can also right click on the shortcut and choose t "Run as Adminstrator".  This allows you to run as administrator only when you need to.  The downside is if you forget to do this you are not running adminstrator and you can have problems like you posted.  I prefer to just set the shortcut to "Run as Administrator".

 
New Post
7/27/2009 1:02 AM
 

Thank you for the response. I turn off UAC on my computer.

Even if I run as Administrator (by right clicking on the short cut), it still prompted the same message, and DotNetNuke_Community is displayed as (unavailable) in the solution.

 
New Post
7/28/2009 1:20 AM
 

Very strange, if youre running VS as Admin from the Start Menu it should have access to IIS.  To check try opening a Web SITE from VS and see if it lets you.  If not you have some sort of perm issue.


Philip Beadle - Employee
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Visual Studio 2008 - Unable to open the Web Site. ‘http://localhost/DotNetNuke_Community’Visual Studio 2008 - Unable to open the Web Site. ‘http://localhost/DotNetNuke_Community’


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out