Dashboard redirects when already logged in?


I had this problem, it seems, with, 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.

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 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 6:28 PM by rtur


philw wrote Aug 29, 2016 at 11:53 AM

Ah, too many configs in too many versions.

The fix is that rights.xml in my original 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" />