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 ...dnn 4.6.2 clean install, app crash on logout click eventdnn 4.6.2 clean install, app crash on logout click event
Previous
 
Next
New Post
5/16/2008 10:01 AM
 

Hi there,

here is what i have on my computer ,,,,

4.6.2 clean install

winxp Pro

sql server 2005

clicking on the logout link application crashes in the login.ascx.vb file under admin/skin folder.

 

Private Sub cmdLogin_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdLogin.ClickTry

 

If Request.IsAuthenticated = True Then

 

If PortalSettings.HomeTabId <> -1 Then

Response.Redirect(NavigateURL(PortalSettings.HomeTabId,

 

"Logoff"), True)  '<application crashes on this line >Else

Response.Redirect(NavigateURL(PortalSettings.ActiveTab.TabID,

 

"Logoff"), True)End If

 

Else

 

'Log In

 

 

Dim ReturnUrl As String = HttpContext.Current.Request.RawUrlIf ReturnUrl.IndexOf("?returnurl=") <> -1 Then

ReturnUrl = ReturnUrl.Substring(0, ReturnUrl.IndexOf(

 

"?returnurl="))End If

ReturnUrl = HttpUtility.UrlEncode(ReturnUrl)

 

If PortalSettings.LoginTabId <> -1 And Request.QueryString("override") Is Nothing Then

 

' user defined tab

Response.Redirect(NavigateURL(PortalSettings.LoginTabId,

 

"", "returnurl=" & ReturnUrl), True)Else

 

' portal tab

 

If PortalSettings.HomeTabId <> -1 Then

Response.Redirect(NavigateURL(PortalSettings.HomeTabId,

 

"Login", "returnurl=" & ReturnUrl), True)Else

Response.Redirect(NavigateURL(PortalSettings.ActiveTab.TabID,

 

"Login", "returnurl=" & ReturnUrl), True)End If

 

End If

 

End If

 

Catch exc As Exception 'Module failed to load

ProcessModuleLoadException(

 

Me, exc)End Try

 

End Sub

i don't see any logoff control in the moduleControl table in db.

I WOULD APPRECIATE IF SOMEONE CAN EXPLAIN WHY APPLICATION CRASH ON THIS LINE OF CODE AND STILL USER IS ABLE TO LOG OFF AND THERE IS NO WARNING OR ERROR. AM I RIGHT ? ANYONE

 

 

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...dnn 4.6.2 clean install, app crash on logout click eventdnn 4.6.2 clean install, app crash on logout click event


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