+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Can't Login to Sitefinity Backen

Can't Login to Sitefinity Backen

7 posts, 0 answered
  1. Coty
    Coty avatar
    0 posts
    Registered:
    05 Jun 2014
    19 Oct
    Link to this post

    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.

     

     

     

     

  2. Coty
    Coty avatar
    0 posts
    Registered:
    05 Jun 2014
    19 Oct in reply to Coty
    Link to this post
    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.
  3. Darrin Robertson
    Darrin Robertson avatar
    105 posts
    Registered:
    18 Jul 2004
    19 Oct
    Link to this post

    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.

     

  4. Coty
    Coty avatar
    0 posts
    Registered:
    05 Jun 2014
    20 Oct in reply to Darrin Robertson
    Link to this post

    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

  5. Darrin Robertson
    Darrin Robertson avatar
    105 posts
    Registered:
    18 Jul 2004
    21 Oct in reply to Coty
    Link to this post

    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.

  6. Coty
    Coty avatar
    0 posts
    Registered:
    05 Jun 2014
    21 Oct in reply to Darrin Robertson
    Link to this post

    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.

     

     

     

  7. Darrin Robertson
    Darrin Robertson avatar
    105 posts
    Registered:
    18 Jul 2004
    22 Oct in reply to Coty
    Link to this post

    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.

7 posts, 0 answered