This project is read-only.
1

Closed

Dashboard redirects when already logged in?

description

I had this problem, it seems, with 3.1.0.1, but I did not notice it. I've been upgrading Blog Engines for some years and I simply didn't notice that I had this problem.

Problem:
I'm logged in as administrator, all rights (Administrate, Edit) ,and if I hit the "dashboard", it bounces me to the login page. It really is a bounce as far as I can tell, I can see the "dashboard" for a second, then it redirects to the login page.

I noticed the problem in 3.1.0.1 when I went to a Blog Engine install to upgrade it. "Ah, I thought, no more trauma, they have a button for this". But I can't see it - problem as above. So I manually installed 3.3 and hacked around with it, eventually getting it online.

I expected that the above problem would have fixed itself, as I moved only the (XML) blog posts across, nothing else. No soap, I still can't get to that dashboard page. I checked the *.xml files in the App_Data and sure enough on the old one there was no explicit "Administrators can access the dashboard" in I think settings.xml. But that is present in the 3.3 version of that file... so it should be good, right? Wrong. I recycled the app pool, did a bunch of other things, but I can't seem to stop this... or find reference to it here.

So anyone please... what's the issue with this - why can't I get to the Dashboard, and how do I fix it?
Closed Sep 8, 2016 at 7:28 PM by rtur

comments

philw wrote Aug 29, 2016 at 12:53 PM

Ah, too many configs in too many versions.

The fix is that rights.xml in my original 3.1.0.1 site did not have the line below in it, but your 3.3 distribution does. So I compared all the XML files and this obviously was the issue. Fix: copy this line across, restart the server, all is good.

<right name="ViewDashboard">
<role name="Administrators" />
</right>