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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Account Login Module Bug?Account Login Module Bug?
Previous
 
Next
New Post
3/16/2008 3:44 PM
 

Hello,

If I add an account login module to a page, the register link returns a server error.  The register link from the login page still works, but not on the module....

It says Server Error in '/' application

The resource cannot be found.

I is a 404 error, and it asks me to verify the URL, but there is no where I can go on the module to tell it where to point...

 


Visit our Website at www.northstarcamaroclub.com
 
New Post
3/16/2008 3:55 PM
 

Here is the message from the event viewer:

AssemblyVersion: 04.07.00
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /forum/NCCForum/tabid/487/ctl/Register/returnurl/ /Default.aspx
AbsoluteURL: /forum/NCCForum/tabid/487/ctl/Register/returnurl/%20/Default.aspx
AbsoluteURLReferrer: http://www.northstarcamaroclub.net/Default.aspx?alias=www.northstarcamaroclub.net/forum
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; .NET CLR 1.1.4322)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 94798979-060b-4e02-a1b3-46359722aee5
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.CachedPathData.GetConfigPathData
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpException at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) at System.Web.HttpContext.GetFilePathData() at System.Web.HttpContext.GetConfigurationPathData() at System.Web.HttpContext.get_ImpersonationToken() at System.Web.ClientImpersonationContext.Start(HttpContext context, Boolean throwOnError) at System.Web.HttpApplication.ThreadContext.Enter(Boolean setImpersonationContext) at System.Web.HttpApplication.OnThreadEnterPrivate(Boolean setImpersonationContext) at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error) --- End of inner exception stack trace ---
Source:
Server Name: WEBD19


Visit our Website at www.northstarcamaroclub.com
 
New Post
3/16/2008 11:51 PM
 

It looks like you are running DNN version 4.7, I think this has been fixed in the latest versions.  Anyway, there is also a fix for it.  Make sure you shutdown your site in IIS first,  then open up httpdocs/admin/authentication/login.ascx.vb and look for cmdRegister.  You will then find the cmdRegister_click  event  and replace the code with the snipet below:

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

This was posted on here by someone some time ago, but I can't remember who it was.  This should make the register button functional again.

 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Account Login Module Bug?Account Login Module Bug?


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