More in this section
Forums / Developing with Sitefinity / Cannot login to the website admin panel after changing the connection string.

Cannot login to the website admin panel after changing the connection string.

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Denis
    Denis avatar
    0 posts
    Registered:
    17 Jan 2017
    20 Jan 2017
    Link to this post

    Hi there,

    I am new in this CMS and have got an issue: after moving a connection string to the web.config file or changing the connection string in DataConfig.config file, I cannot login to the website admin panel. I have tried to login as admin/admin, but it does not work. There are no any users created automatically when DB is deployed : dbo.sf_users table is empty. I am using a Microsoft SQL Server 2014 Management Studio. I cannot add user to database with SQL query: probably it should be hashed and salt generated. 

    So, I have no idea how to solve the problem, please help.

     

    P.S. my current connection string (DataConfig.config file) is:

    <add connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;User Instance=True;initial catalog=Cars" providerName="System.Data.SqlClient" dbType="MsSql" name="Sitefinity" />

1 posts, 0 answered