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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Unable to login after upgrade from 4.9.0 to 5.1.1Unable to login after upgrade from 4.9.0 to 5.1.1
Previous
 
Next
New Post
8/9/2009 7:05 PM
 

I have upgraded from 4.9.0 to 5.1.1 in a test environment.  Everything went OK, however wehn I click the "Login" link, it just brings me back to the home page.

I looked at Fiddler and it is doing a 302 redirect when trying to hit /Login.aspx?ReturnUrl=%2fDefault.aspx

The IIS log files also show this:

2009-08-09 22:18:04 W3SVC844216091 127.0.0.1 POST /Default.aspx - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.30) 302 0 0
2009-08-09 22:18:04 W3SVC844216091 127.0.0.1 GET /Login.aspx ReturnUrl=%2fDefault.aspx 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.30) 302 0 0
2009-08-09 22:18:04 W3SVC844216091 127.0.0.1 GET /Default.aspx - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.30) 200 0 0

The only way I can login is if I put in the following URL which I got from my production 4.9.0 install:

www.mydomain.com/Home/tabid/36/ctl/Login/Default.aspx?returnurl=%2fHome%2ftabid%2f36%2fDefault.aspx

If I try, http://www.mydomain.com/Login.aspx, I get the same 302 redirect on 5.1.1.  If I do that on my production 4.9.0 install I do not get the redirect and the login page shows.

I have used SSL Redirect in my production environment (4.9.0), but am not using it in my test 5.1.1 environment as I don't have an SSL cert installed in my test environment, but that shouldn't matter, nothing is marked as an SSL page in any configurations in DNN as I control all the SSL stuff using SSL redirect.

I noticed in the textview of the fiddler trace, the 302 page has the following info in it if I look at the Text view:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
    <meta name="revisit-after" content="1 days" />
    <meta name="robots" content="noindex,nofollow" />
    <title id="Title">Error</title>
    <link id="StyleSheet" href="/Install/Install.css" type="text/css" rel="stylesheet"></link>
</head>
<body>
    <form name="form" method="post" action="ErrorPage.aspx?status=500&amp;error=Thread+was+being+aborted." id="form">
<div>
<input type="hidden" name="__view_state" id="__view_state" value="/wEPDwULLTEyNzk3NjA5MTAPZBYEAgMPFgIeBGhyZWYFFC9JbnN0YWxsL0luc3RhbGwuY3NzZAIFD2QWAgIFDw8WAh4EVGV4dAU2PGltZyBzcmM9Ii9pbWFnZXMvbHQuZ2lmIiBib3JkZXI9IjAiIC8+IFJldHVybiB0byBTaXRlZGRkmD1HhvCWiukTJHV67O9cmUctgQw=" />
</div>

        <table cellspacing="5" cellpadding="5" border="0" class="Error">
         <tr>
          <td><img id="Image1" src="logo.gif" alt="DotNetNuke" style="border-style:None;border-width:0px;" /></td>
         </tr>
         <tr style="height:100%;">
          <td valign="top" style="width:650px;">
                    <h2>DotNetNuke Error</h2>
                    <hr />
                    <p>Windows Server 2003</p>
                </td>
         </tr>
         <tr>
             <td align="right"><a id="hypReturn" class="WizardButton" href="Default.aspx"><img src="/images/lt.gif" border="0" /> Return to Site</a></td>
         </tr>
         <tr><td height="10px"></td></tr>
        </table>
    </form>
</body>
</html>
 

So what is wrong with my upgrade that makes it so the login page no longer works correctly???

FYI, the register page still works.  Is there some database hack I need to perform?  I tried a SQL Profiler trace to see what it might be getting from the database, but I don't see hardly any activity. 

Also, my test environment basically has a host file entry to point www.mydomain.com back to 127.0.0.1

 

 
New Post
8/10/2009 7:40 AM
 

One other thing to note, In 4.9.0 and 5.1.1 I do not have anything set for the Login Page under Admin>>Site Settings>>Advanced Settings>>Page Management.  Is that required now for 5.1.1???

 
New Post
8/10/2009 7:13 PM
 

Some pointers...

How did you upgrade? - can you try using the XML merge method (google DNN XML merge).
Any third party modules or friendly URL providers?
Do you have privacy software like Zone Alarm installed?
Is Javascript turned off?
Perhaps you can look into the sitelog for error messages by opening up the relevant database table using SQL server Management studio (or similar program).
Try restarting IIS
Try clearing your browser cache and cookies.
Any errors when you upgraded?

Thanks...
 



Alex Shirley


 
New Post
8/10/2009 9:05 PM
 

I had performed all of that and more... 

After doing a new install of 5.1.1 and examining a ton of tables in detail and comparing them to my upgraded database tables I found the issue.

For whatever reason there was a reference in the Tabs table that had a tabname of "Login".  It has the "IsDeleted" flag set to 1, and the TabPath was //Login and the IsSecure flag set to True, and the IsVisible flag set to 1.  All other fields were either blank, 0, or NULL.

How do I enter this as a bug report?  It seems that there is an issue with the way DNN 5.1.1 handles login URLs where there is a Tab ID in that uses the same name as the Login page.  This didn't appear to be a problem in the older versions of DNN.

 
New Post
8/10/2009 9:11 PM
 

On another note, I deleted all rows from the tabs table that had the "IsDeleted" flag set to 1.  Is there any danger in doing that?  Why is there even an IsDeleted flag??

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Unable to login after upgrade from 4.9.0 to 5.1.1Unable to login after upgrade from 4.9.0 to 5.1.1


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