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&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