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
2/26/2010 7:27 PM
 

Hi all, I'm tearing my hair out trying to figure out why I can't get DNN to work. I have a completely vanilla install now, the default page comes up fine but for some reason when I click on Login or Register I just get the IE "Can't open this page" generic error window. It doesn't even seem to be trying to redirect to the Login page since the URL just shows the Default.aspx page (which ought to display fine even if it's not the Login page I asked for). I have no idea why this is happening.

Here are the steps I took (btw, I am on Windows 7 (64-bit)):

1) I downloaded "DotNetNuke_Community_05.02.03_Install.zip" and unzipped it to "C:\code\DNNTest"

2) I loaded up Visual Studio 2008 and selected "Open --> Website" and pointed it to "C:\code\DNNTest"

3) I ran the website from the debugger and it launched the installer which successfully completed fine. The URL in the browser at that point is http://localhost:51638/DNNTest/

4) Once it finished installing it brought up the default page which looked fine. But clicking on the Login page takes me to: http://localhost:51638/DNNTest/defaul...? where the browser just shows "Internet Explorer cannot display the webpage".

What did I do wrong? I've installed DNN before and never had this problem. i was having problems deploying it to a production server so I just wanted to start over with a fresh install and the latest version.

Thanks to anyone who can help me out!

Phil

 
New Post
2/27/2010 1:59 AM
 

Uh, why are you running the Installation package via Visual Studio? 

It is built to be unzipped into a named folder then setup in IIS and hit from a browser to kick off the installation.

Try just installing from a browser after setting the site up in IIS.

If you want to develop using VS then download and run the Source package make sure you rename one of the 2 config files in the root to web.config


Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
2/27/2010 4:07 PM
 
Hi Ken, Thanks for the information. Are you saying it's not *supposed* to work the way I did it? I have to admit I find the number of different DNN packages rather confusing. Maybe I should start from the beginning. My intention is (eventually) to be able to develop custom DNN modules in Visual Studio 2008, but I want to be able to publish the entire website (along with any custom modules) to our production server from Visual Studio in one shot. Is that possible? If so, how do I go about setting it up? I don't think I need to modify the core framework or anything, which is why I didn't download the "source" version; I thought that was only for people who needed to make deeper modifications to the platform. If I need to go back and install the source version that's fine, but can you explain why I can't run the site from VS the way I did? I'm just wondering what would be different about the source version that would allow me to run it from VS. Thanks! Phil
 
New Post
2/28/2010 2:39 AM
 

Well... I have to admit it's not how the "Install" package is designed to be used but it's all code so it should just work.

That said I just tried an "Auto" installation using your steps and the "Installation" package and it installed correctly but after clicking "Go To Your Portal" the URL changed in the browser from http://localhost:49276/523ViaVS08/ to http://localhost/523ViaVS08.

I also got a "resource cannot be found error message in the browser which was a little suprising. See Step 1 below.....

Manually adding :49276 back into the browser brought up the Default.aspx page and I can log in and use the site. Even added a couple of test pages with modules and users all without any problem.

Things I did differently...

1. If you are already running IIS on the machine STOP it by right clicking on "Default Web Sites" in the IIS Manager and clicking Stop.

2. On your "DNNTest" folder add the Service Account that is running for the Application Pools for IIS. If you haven't touched Application Pools service account then it's "IIS AppPool\DefaultAppPool" and you need to give it "Modify"; Read&Execute; List Folder Contents; Read permissions on the "DNNTEST" folder.

See this post regarding IIS Service Account changes in Win7/IIS 7.5: http://www.dotnetnuke.com/Community/B...

Once I did the above 2 tasks I was up and running....

As far as developing custom modules and pushing to production you have the right idea but you want to use the source package for that purpose.

Download the source package @ http://dotnetnuke.codeplex.com/releas... run in it VS you'll see a huge difference in packages.... Source is uncompiled whereas Installation is a compiled package.

Disclaimer:

I am not a developer and I don't play one on TV but I work with some wickedly good developers!


Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
2/28/2010 2:04 PM
 

Hi Ken,

Thanks again for trying to help. I really appreciate it. Unfortunately I'm still stuck in the same spot I was before. I had already done step #1 in your post and it didn't make a different. I tried giving access to "IIS AppPool\DefaultAppPool" as you described in step #2 but it seems that account does not exist. Are you on Windows 7 as I am? Maybe the app pool name has changed? Anyway I decided to just give full control to the "Everyone" account just to save time guessing at the correct name but I still got the exact same behavior. I.e. the default page comes up fine but the Register and Login links don't work.

What you said about the port number being removed from the URL is interesting. I don't remember my portal doing that, but it made me wonder why. I mean, how would it know to keep the port number on the URL if the url in the portal alias table is just localhost/dnntest or whatever? In any case as I was reading through the web.config file I noticed this key was commented out:

<add key="UsePortNumber" value="true" />

So I thought I would uncomment it and see what happened. And now I can't even launch the default page! I just get the lame IE "can't display this website" page. So that makes me wonder what the purpose of that web.config entry is, but whatever...

So now I'm back to where I was. I'm going to start over again with the source version and see if I have any better luck with that.

Thanks,

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