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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Brand new install - Login and Register links brokenBrand new install - Login and Register links broken
Previous
 
Next
New Post
3/1/2010 6:22 PM
 

Hi Ken,

Well I'm still stuck in the same place. I created a brand new database (DNNSource) and unzip'd the latest source version to c:\code\DNNSource. When I opened up the VS2008 solution file it wouldn't load the website project. It kept telling me I needed certain components installed and that I had to be running as an Administrator. I finally got all the components installed that it wanted (some IIS6 compatibility stuff and Windows Authentication) but it still kept telling me I need to be running VS as an Administrator even though I was. So eventually I gave up, deleted the website project from the solution and selected "Add --> Existing Web Site..." and added c:\dnnsource\website back in. However I still can't run the solution from VS. When I hit F5 the default page won't even launch. The browser tries to open http://localhost:49269/Website/ (I'm just using the built-in VS web server) and I immediately get "Internet Explorer cannot display the webpage". I really don't know why this isn't working. If I create a new website in IIS and point it at c:\dnnsource\website it works fine when I browse to http://localhost and I can create the database, get the default page, log in, etc. It just won't work from VS.

Any thoughts?

Thanks!

Phil

 
New Post
3/1/2010 8:28 PM
 

Phil;

Try this with Visual Studio closed, not running:

Open IIS Manager, right click on "Default Web Site", select "Manage Web Site" click on "Stop".

Close IIS Manager.

Restart Visual Studio, go "Add --> Existing Web Site..." and add c:\dnnsource\website then hit F5

I believe there's a conflict between the built-in VS web server and IIS on your machine


Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
3/1/2010 10:18 PM
 

Hi Ken,

Ok, I figured out what the problem was with running from VS. I forgot that since the website was running under http://localhost:<port>/Website, I needed to add an entry for localhost/Website in the Portal Aliases table. Since I hadn't done that it was redirecting to simply localhost and (at that point) I had already shut down the IIS default site so there was nothing there. That's why I was getting the IE error.

The next problem I ran into was that I everything was working fine within VS, but after I did a deploy to our live server I could only get to the default page. When I tried to click on Login or Register or anything else I got a 404 error. After hunting around a bit I tried setting the URL rewriting in the web.config file from "humanFriendly" to "searchFriendly" and that cleared up the problem. Which is weird because a) I shouldn't need to do that, right?, and b) all the posts I saw that recommended using "searchFriendly" URL's were for the exact opposite problem (i.e., everything working fine in a deployed environment but not from localhost under VS). So... whatever.  At least it's working now.

Thanks for your help and suggestions.

Phil

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Brand new install - Login and Register links brokenBrand new install - Login and Register links broken


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