1
Vote

Login issue in DNN 5.6 + .NET 4

description

I have seen someone with a similar issue here.

In the login module the "forgot password" link does not work.
I noticed that it's only a problem when you place the login module on another page then the login page.

On the "normal" login page it woks as expected, but not when you add a login module to another page.
The link redirects form:
http://www.mysite.com/mypage.aspx
to:
http://www.mysite.com/mypage.aspx/Default.aspx

Which is a bit strange?

I could remove the url provide ans use the DNN 5 friendly url provider, but I don't think all urls will stay the same..

DNN 5.6
.NET 4.0
URL provider 5.4.3

comments

Timo_Design wrote Feb 7, 2013 at 4:02 PM

I did a test and when I switch back to the core url provider the issue is not there.

brucerchapman wrote Feb 11, 2013 at 2:24 AM

I am unable to reproduce this problem on a DotNetNuke 5.6 install. Can you be more clear about your setup?

I have created a new page called 'login', and set this as the login page in the Admin->Site Setings page.
I have copied a new account login module ot the new 'login' page.
From an anonymous visitor, I click on the 'retrieve password' link, and I am forwarded to the receive password link OK.

Timo_Design wrote Feb 11, 2013 at 8:43 AM

Hi bruce,

I also did not have the issue on the login page, but when using it on a regular page.

So I put the module on a regular page, that is not the login page (so not set as the login page in settings).

My use case is this:
I have a public members page with an introduction (what, how, when), below this is the login module, so members can login immediately.
This is not the regular login page, so not set as login page in the settings.

Thanks, Timo

wrote Feb 14, 2013 at 2:26 AM

brucerchapman wrote Mar 20, 2013 at 4:41 AM

Can you post clear steps to reproduce? I need to be able to recreate the problem in order to fix it, because I haven't been able to.

Timo_Design wrote Mar 20, 2013 at 8:00 AM

Ok, I did another test and now I also cannot reproduce it..
I don't understand why I could before.
I'm very sorry about that.
Ill investigate further and report back

Timo_Design wrote Mar 20, 2013 at 8:35 AM

OK, I managed to reproduce it now, but I'm not 100% sure why I couldn't before.
I have one test install with DNN 5.6.8 and on one portal I don't have the issue and on the other I do.
The one that has the issue is a "normal" portal, the one without is a child portal
I have not found any other differences.
So reproduce like this:
  1. Create a Portal (not a child portal)
  2. Create a members page visible for all users
  3. Add the account login module to that page
  4. Logout
  5. Click the Forgot password link.
I get redirected to dnn5dev/Members.aspx/Default.aspx

When you still cannot reproduce it I could send you a copy of my test install.

Timo_Design wrote Mar 20, 2013 at 8:37 AM

As soon as I remove the iFinity URL provider from the installation the forgot password link works correctly.

Timo_Design wrote Mar 20, 2013 at 8:39 AM

One more thing, my test install (DNN 5.6.8) runs on .NET 3.5, so .NET4 does not seem to be relevant.

Timo_Design wrote Aug 27, 2013 at 9:21 AM

Could you please have a look at this?
I cannot yet upgrade this install to DNN7.1 and it now uses an underscore as separator, so switching to the core version is also not really an option...

Timo_Design wrote Aug 27, 2013 at 9:27 AM

The link to forgot password does work When I have a url like this:
/Home/ctl/Login.aspx?returnurl=%2fHome%2fctl%2fSendPassword.aspx

Not from the login page directly:

/login.aspx

In that case I get redirected to the home page on both portals

Timo_Design wrote Aug 27, 2013 at 9:43 AM

BTW, I hacked around this now by hiding the lik with css and injecting a manually constructed one:

/MyPage/ctl/SendPassword.aspx?returnurl=%2fMyPage.aspx

brucerchapman wrote Aug 29, 2013 at 12:18 AM

Timo - you aren't stuck with - as a Url separator in 7.1 - you can easily change that via the relevant Portal Setting. (AUM_ReplaceSpaceWith I think).

Timo_Design wrote Aug 29, 2013 at 8:04 AM

Ok, but I cannot upgrade this installation to DNN7 right now