Cannot login to the website admin panel after changing the c

Posted by Community Admin on 04-Aug-2018 08:19

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

All Replies

Posted by Community Admin on 20-Jan-2017 00:00

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" />

This thread is closed