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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Login Module register link doesnLogin Module register link doesn't work
Previous
 
Next
New Post
11/16/2007 1:12 PM
 

I upgraded to the latest version, 4.7.0 from 4.4 I think.  The upgrade went well from what I could tell.  Ever since the upgrade the Account Login Module register link sends the user to a 404 error page, see below...

Is there a way to fix this??  Since the Account login Module is part of the core, I'm assuming this to be a core problem or a field in the DB wasn't changed during the upgrade.  I have noticed that the Register link on the main page (not in the module) works just fine, so removing the module and making users use the link on the page is fine, but I just wanted to figure out what the deal was with the module.  When I add a new Account Login Module, the same thing happens.  I also noticed that the links for Register are different between the Module and the page link.  If you want to check it out, go to www.movies4friends.com and see for yourself.

 

Description: 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.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /Home/tabid/36/ctl/Register/returnurl/ /Default.aspx

Server Error in '/' Application.

The resource cannot be found.

 

 
New Post
11/17/2007 11:55 PM
 

I am experiencing the exact same issue you describe. I think it's something in the configuration, somewhere, though I'm too new at this to really understand where to even start looking. My install is not an upgrade, I started with 4.7.0.

The Requested URL, if you'll look at it closely, has a blank space before the /Default.aspx and this is what is causing the error. If you go to the address bar and manually delete out the blank space and one of the two slashes, that link will get you to the register page.

The question becomes, why is it incorrectly writing the url and what can be done about it?

 
New Post
11/18/2007 1:42 AM
 

I have the same problem, any one can help please?

 


Bilal Al-Ghazi
 
New Post
11/20/2007 3:19 PM
 

I have the same issue as well after upgrading.  I don't like to remove the account login module since my users are use to using it and it will mess up my page layout!  Any fixes out there?

 
New Post
11/20/2007 4:43 PM
 

Paul Crecelius wrote

I upgraded to the latest version, 4.7.0 from 4.4 I think.  The upgrade went well from what I could tell.  Ever since the upgrade the Account Login Module register link sends the user to a 404 error page, see below...

Is there a way to fix this??  Since the Account login Module is part of the core, I'm assuming this to be a core problem or a field in the DB wasn't changed during the upgrade.  I have noticed that the Register link on the main page (not in the module) works just fine, so removing the module and making users use the link on the page is fine, but I just wanted to figure out what the deal was with the module.  When I add a new Account Login Module, the same thing happens.  I also noticed that the links for Register are different between the Module and the page link.  If you want to check it out, go to www.movies4friends.com and see for yourself.

 

Description: 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.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /Home/tabid/36/ctl/Register/returnurl/ /Default.aspx

Server Error in '/' Application.

The resource cannot be found.

 

Ok Guys here's the fix:

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/107/threadid/183332/scope/posts/Default.aspx

 

Ok, by comparing the User skin object and the account login module I've come up with a fix. Not sure how to post bugs to Gemin ior whatever it is, but if anyone wants to fix theirs open up Admin\Authentication\Login.ascx.vb and alter the cmdRegister event. I left the original code in there commented out for comparison.

 

        Private Sub cmdRegister_Click(ByVal sender As Object, ByVal e As EventArgs) Handles cmdRegister.Click

            'If PortalSettings.UserRegistration <> PortalRegistrationType.NoRegistration Then
            '    If PortalSettings.UserTabId <> -1 Then
            '        ' user defined tab
            '        Response.Redirect(NavigateURL(PortalSettings.UserTabId, "", "returnurl=" & HttpUtility.UrlEncode(HttpContext.Current.Request.QueryString("returnurl"))), True)
            '    Else
            '        ' portal tab
            '        If PortalSettings.HomeTabId <> -1 Then
            '            Response.Redirect(NavigateURL(PortalSettings.HomeTabId, "Register", "returnurl=" & HttpUtility.UrlEncode(HttpContext.Current.Request.QueryString("returnurl"))), True)
            '        Else
            '            Response.Redirect(NavigateURL("Register", "returnurl=" & HttpUtility.UrlEncode(HttpContext.Current.Request.QueryString("returnurl"))), True)
            '        End If
            '    End If
            'End If
           
        If PortalSettings.UserRegistration <> PortalRegistrationType.NoRegistration Then
             Dim ReturnUrl As String = HttpContext.Current.Request.RawUrl
        If ReturnUrl.IndexOf("?returnurl=") <> -1 Then
            ReturnUrl = ReturnUrl.Substring(0, ReturnUrl.IndexOf("?returnurl="))
        End If
        ReturnUrl = HttpUtility.UrlEncode(ReturnUrl)

        If PortalSettings.UserTabId <> -1 Then
            ' user defined tab
            Response.Redirect(NavigateURL(PortalSettings.UserTabId, "", "returnurl=" & ReturnUrl), True)
        Else
            ' portal tab
            If PortalSettings.HomeTabId <> -1 Then
                Response.Redirect(NavigateURL(PortalSettings.HomeTabId, "Register", "returnurl=" & ReturnUrl), True)
            Else
                Response.Redirect(NavigateURL("Register", "returnurl=" & ReturnUrl), True)
            End If
        End If
         End If

        End Sub

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Login Module register link doesnLogin Module register link 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