Can't get to Login page after upgrade

May 29, 2011 at 11:46 PM

Hi all,

After upgrading, the login control still points to the standard login url.  However, I noticed that the new URL is prefaced with "Account", hence "Account\Login.aspx" instead of just "Login.aspx".  Why would I still be going to the old login url? Is there something I must update in my theme? Currently, this is what I have in my site.master page:

            <li><a runat="server" id="aLogin" /></li>



May 30, 2011 at 4:56 AM

You need to make a small change in the site.master.cs file.

Most likely you will see two lines like this:

aLogin.HRef = BlogEngine.Core.Utils.RelativeWebRoot + "login.aspx";

change that to:

aLogin.HRef = BlogEngine.Core.Utils.RelativeWebRoot + "account/login.aspx";

One line is for login the other for log off. So you need to change them both.