1-888-365-2779
+1-888-365-2779
Try Now
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.

1 posts, 0 answered
  1. Denis
    Denis avatar
    0 posts
    Registered:
    17 Jan 2017
    20 Jan
    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