Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  dnn 4.6.2 clean install, app crash on logout click event
Previous Previous
 
Next Next
New Post 5/16/2008 7:01 AM
User is offline Asif_Khan
24 posts
10th Ranked


dnn 4.6.2 clean install, app crash on logout click event 

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 Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  dnn 4.6.2 clean install, app crash on logout click event
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Disgrafic
Diseño y creación de portales web dinámicos :: Desarrollo de módulos personalizados :: Soluciones a medida :: Imagen Corporativa :: Tu proveedor DNN en España
www.disgrafic.com
DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com
Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP