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 ...Login page doesnLogin page doesn't work...
Previous
 
Next
New Post
10/30/2009 5:49 PM
 

I just installed DNN 5.1.4 on my local machine for development and the home page comes up, but when I click on the login button I get an error.

The interesting thing is the URL doesn't look right.

http://localhost/dotnetnuke514i/Home.aspx

is the url when I click on the Login for this version of DNN.

It's giving me a HTTP 404 error saying the page has been removed...etc.

 

When I click on my installation of DNN 4.9.5 and click on the login I get the more familar URL

http://localhost/dotnetnuke495i/Home/tabid/38/ctl/Login/Default.aspx?returnurl=%2fdotnetnuke495i%2fdefault.aspx

And the log in page comes right up.

Anyone have any idea on what I did wrong with my 5.1.4 installation? The home (default.aspx) page comes up just fine, but login and the pages in the menu don't give the typical URLs that DNN has.

 Oh...

Setup:

Windows Vista Home Premium

Directory is in inetpub\wwwroot\DotNetNuke514i

I checked the Network Services and gave it all permissions

DNN went through the installation just fine, and I even get the Default.aspx page, but local pages doesn't seem to generate proper urls.

 

HELP!

 

 

 
New Post
10/30/2009 8:12 PM
 

The reason that the urls look different in 5.1.4 than in 4.9.5 is that in 5.1.4 the human friendly url rewriting option is turned on by default. Still, clicking on the Login link should produce a url similar to this one:

http://localhost/dotnetnuke514/Login.aspx?ReturnUrl=%2fdotnetnuke514%2fHome.aspx

1. What happens when you type in the above url in the address field of your browser and navigate to it?
2. What happens when you click on the "Register" link?
3. Is there any possibility that in Admin-->Site Settings-->Advanced you had set up a non-default Login page pointing back to your home page?


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
10/31/2009 12:21 AM
 

Hi William,

Thank you for responding. I have been working with DNN since version 2.1.2, so I've done several installations, but this is my first installation of DNN version 5 and this one definitely has me puzzled.

I've installed it 3 times on my local machine, and each time I'm getting the same result.

Typing in this URL: http://localhost/dotnetnuke514i/default.aspx will give me the default page with the standard screen that I expect to see with any other installation of DNN. I'm at the home page, however if I click in the menu and select the "Home"

The URL changes to: http://localhost/dotnetnuke514i/Home.aspx and I get an HTTP 404: The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. (The standard HTTP 404 error)

The Register page WORKS! yes, I get a registration page, but if I try to register and type in information, after registering, I get the "proceed to login" and when I click on that button, I get the same URL http://localhost/dotnetnuke514i/Home.aspx with the same error.

When I try the Login button I get a URL: http://localhost/dotnetnuke514i/Login.aspx?ReturnUrl=%2fdotnetnuke514i%2fdefault.aspx which also results in an HTTP 404. (Same error message)

Since I can't get to the login screen I can't login as host, so I can't get to the Site Settings tab.

Now the version information says Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3601

Do I need to have the .NET Framework Version set to 3.5??? I can't seem to figure out how to set this up to use the 3.5 Framework (can't find that tab) maybe that's my problem?

Now just for kicks, I copied the same URL that I have for my dotnetnuke495i installation and changed the URL to reflect the dotnetnuke514i installation, and I get the login page:

So I changed:

http://localhost/dotnetnuke495i/Home/tabid/38/ctl/Login/Default.aspx?returnurl=%2fdotnetnuke495i%2fdefault.aspx

to

http://localhost/dotnetnuke514i/Home/tabid/38/ctl/Login/Default.aspx?returnurl=%2fdotnetnuke514i%2fdefault.aspx

and I get the login screen to the DNN 5.1.4 install version, you talk about the "human url rewriting" is turned on by default, could the part where it's suppose to interpret the URL not be working correctly?

So what configuration am I missing so the simple URLs aren't working for my local installation?

 

 
New Post
10/31/2009 12:48 AM
 

William I found the Friendly URL settings under Host ->Host Settings.

    Match Replace With    
.*DesktopDefault.aspx(.*) ~/Default.aspx$1    
.*EditModule.aspx(.*) ~/Default.aspx$1    
.*/TabId/(\d+)(.*)/Logoff.aspx ~/Admin/Security/Logoff.aspx?tabid=$1    
.*/TabId/(\d+)(.*)/rss.aspx ~/rss.aspx?TabId=$1    
[^?]*/TabId/(\d+)(.*) ~/Default.aspx?TabId=$1

I only have these 5 rules there. The login one appears to be missing. Also I'm unsure as to why my "home" page from the menu also doesn't work.

If I'm missing something, can you give me a hint as to which rules I'm missing or maybe an SqlDataProvider file that didn't install properly (or completely) could be the cause of my problems.

Thanks.

 
New Post
10/31/2009 3:03 PM
 

I've already posted about this and support stated that for now "human friendly" url's will not work in localhost installations.  You will have to change it in the web.config to "searchfriendly" in order for a localhost install to work properly.  At least if you are using port numbers, and apparently from this post even if you're not.  Just search web.config file for 'humanfriendly" and change it to "searchfriendly" and you won't have any 404 issues.  When the site is live on the web and accessed with a true domain name like domainname.com, then you won't have issues with the friendly url's.  Not sure what their schedule is in regards to finding a fix for this, but it didn't seem it was going to be a very high priority at all and I'm just doing without friendly url's on localhost dev sites.


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Login page doesnLogin page doesn't work...


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