Can't Login to Sitefinity Backen

Posted by Community Admin on 03-Aug-2018 02:57

Can't Login to Sitefinity Backen

All Replies

Posted by Community Admin on 19-Oct-2016 00:00

I have Sitefinity setup that I have been using for several months in my local dev environment.  My database is local and Sitefinity is local.  Ill call it Sitefinity1 and DB1.

I now have a new project Sitefinity project I need to work on.  I downloaded the Database and Sitefinity Website files from our TFS server.  I restored the database,  So I'll call this Sitefinity2 and DB2.  After working through some issues I got this site up and running.

Both sites use the same username and password for how I log in to the backend.

I opened the project for Sitefinity1 in visual studio, ran it, logged into the admin portion.   Stopped debugging.  Opened the second solution (Sitefinity2).  ran it and logged into the admin portion (I was comparing a few admin settings between the sites)  NOTE - I didn't make any changes and nothing seemed out of the ordinary.  Stopped debugging.

Reopened Sitefinity1.  The site works still, but I now I can't login.  It says I don't have access to /Sitefinity.  I attached an image showing the error I get.  At first I thought maybe it was a caching issue - like my browser was saving my username and password.  So I tried another browser and got the same error.

To make matters worse, I then went to Sitefinity2 site and now that doesn't work either!   The site doesn't even load for this one it just says The username or password is incorrect.  That's it - can't load site, can't load Sitefinity admin portal, so I can't even change the password.

I'm basically dead in the water at this point, Please help.

 

 

Posted by Community Admin on 19-Oct-2016 00:00

Bump - I would like to have at least something to 'try' by tonight.  I can only work on this project in the evenings.  I'm planning to spend an hour or 2 tonight to troubleshoot but if you have any ideas on things to check, please let me know.

Posted by Community Admin on 19-Oct-2016 00:00

I can't think of what may have caused you to get to this situation.

I would suggest, again clearing you r browser cache. (Especially cookies and stored passwords)

Use one browser to access one site and another browser to access the other site, (Firefox and Chrome for example)

Double check your connection strings. web or data configs. (if you are using web.config make sure the connection string is deleted from the data.config)

You can reset your passwords by accessing the database and the sf_user table. Choose the admin account you want to reset. Set the salt to NULL, password format to 0 and type in the clear text password you want to use.

 

Posted by Community Admin on 20-Oct-2016 00:00

Good info Darrin - thanks.  I will test those options tonight.  (I forgot the pres. debate was last night so I didn't get around to working with it)

 

thanks,

 

Coty

Posted by Community Admin on 21-Oct-2016 00:00

Your welcome

One final point. If you change the password the change is storing it as clear text so not ideal for a live website.

Posted by Community Admin on 21-Oct-2016 00:00

Hey Darrin - updating the password in the DB worked for the Default Authentication Provider which I think I can get by on.   Appreciate it.  (1 Site to go!)

The sitefinity account I am using has a custom authentication provider, and I just noticed in Fiddler I am getting the attached error messages.  I'm wondering if it has something to do with that.  

I guess I could always bring down the production DB again and restore it over my local copy.  I don't have any outstanding changes so that might fix some stuff if there are some invalid settings in there.

 

Posted by Community Admin on 22-Oct-2016 00:00

I suspect your dev site is trying to communicate load balancing information with your live site.

Look to disable or set your self as a one node LB environment by editing the loadbalancer config file.

Your custom membership provider is pointing to ??? Make sure your dev environment can reach it.

This thread is closed