Inside Activate
...
Troubleshooting
Sql Not Connected Error In Activate Studio
5 min
overview when using a locally installed instance of activate studio, you may encounter a sql connection error indicating that the application is not connected to the database this is typically caused by an incomplete or incorrect local configuration symptoms you may see an error similar to "sql error not connected" this error occurs when attempting to connect to an activate environment from activate studio cause the most common cause is a missing or incorrect instancename setting in the local activate studio configuration file activate studio relies on this value to determine which activate instance and database it should connect to resolution verify the appsettings json configuration on the machine where activate studio is installed locate the appsettings json file used by activate studio open the file in a text editor confirm that the instancename setting is present and correctly set example { "instancename" "youractivateinstancename" } ensure the value matches the target activate environment restart activate studio after updating the configuration file, restart activate studio and attempt to connect again notes and considerations verify file permissions allow the configuration file to be read ensure you are editing the correct appsettings json if multiple copies exist confirm network connectivity to the sql server once instancename is set