Need to run up a local dev site on a new SQL Server DB instead of it’s current SQLite DB.
I’ve tried changing the connection string to the new DB and deleting the Umbraco/Data/Temp folder and renaming the Umbraco.sqlite.db to Umbraco.sqlite-old.db.
Have also tried removing the connection string altogether plus the other things mentioned.
It seems convinced there should be in installation to connect to in a database as I get the following error in terminal:-
Building...
[18:22:34 INF] Acquiring MainDom.
[18:22:34 INF] Acquired MainDom.
[18:22:35 INF] Umbraco Runtime is not Run/Upgrade mode, so a database connection is unlikely to be available for migrations
[18:22:36 WRN] No last synced Id found, this generally means this is a new server/install. A cold boot will be triggered.
[18:22:36 INF] Registered with MainDom, localContentDbExists? True, localMediaDbExists? True
[18:22:36 INF] Creating the content store, localContentDbExists? True
[18:22:36 INF] Creating the media store, localMediaDbExists? True
[18:22:36 ERR] Exception (fc72de26).
Microsoft.Data.SqlClient.SqlException (0x80131904): Invalid object name 'umbracoLock'.
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()
at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
Does anyone have any other suggestions. I’ve run up Umbraco installations on other DB’s loads of times but I can’t work out why this doesn’t just work and cause an install.
Thanks.