Skip to main content

I created an instance based on SalesDemo and published the customization. Then, if you close the site and reopen it, you will get this error "Database could not be accessed". Has anyone encountered this? What can be wrong with customization?

 

Hi @VladyslavPoberezhets, have you tried restarting the MS SQL service?

MSSQL Management Studio
SQL Server Configuration Manager
​​​​
​​​​​

 

Hope this helps.


Hi @palbores. Yes, I tried, it doesn't help


Hi @palbores. Yes, I tried, it doesn't help

I found this solved issue with same with yours. Try their solution in this thread.

 

 


@palbores I have seen it and already tried.


Hi,

You could have a look at the connection string in the Web.config file.  The below is a screen shot of the relevant line in one of my customisation projects.

 

 

<add name="ProjectX" providerName="System.Data.SqlClient" connectionString="Data Source=DESKTOP-HPD9MVJ\SQLEXPRESS;Initial Catalog=Schick_20230929;Integrated Security=False;User ID=sa;Password=********" />

 

 

John.

 


Hi @palbores Are you using the windows Authentication. If yes, please verify if your account has access to the database permissions.


Reply