I have created a new sql database on sql server 2017 (developer version) and i have used SQLite Toolbox to convert the sdf db, however I have tried to connect the website to it but didn't succeed.
Hi Paul,
Thank you very much, your video is very helpful, anyway I still getting the same error
Umbraco cannot start. A connection string is configured but Umbraco cannot connect to the database.
What I'm going to do is to start fresh with a new Umbraco website and connect it to a new database, and I can work with any version of sql, not just Express, right?
Hi again,
It seems you were right, and the problem is with the db authentication, I have changed it and restart the sql from the services and the ssms, but didn't take affect.
Hi Paul, Rayyan,
Can you give the title of the video?
Or maybe the correct URL, as the video seems to have moved.
I am getting a "Video not found" error when going to the URL...
Thanks!
Daniel
You shouldn't use sa for your username it is not best practice and also is a big security risk. You should create a user and then assign it to the database and the proper mappings. The sa account should always be disabled.
The reason your sa account works and the other did not, is because you didn't assign the account the proper database mapping and most likely the proper permissions.
Umbraco sql server connection string
Hello there,
I have created a new sql database on sql server 2017 (developer version) and i have used SQLite Toolbox to convert the sdf db, however I have tried to connect the website to it but didn't succeed.
Here's my connection string I'm currently using;
And I have tried this one;
What's the right way to connect it to the db?
Thank you,
Hi Rayyan
Try this one
Hi Rayyan Have you set the server to mixed mode. Maybe this video will help you.
https://www.youtube.com/watch?v=-7H_r_9WtQg
Paul
Hi Paul, Thank you very much, your video is very helpful, anyway I still getting the same error
What I'm going to do is to start fresh with a new Umbraco website and connect it to a new database, and I can work with any version of sql, not just Express, right?
Hi again, It seems you were right, and the problem is with the db authentication, I have changed it and restart the sql from the services and the ssms, but didn't take affect.
Where do you think is the problem? Thanks alot
Hi Paul, Rayyan, Can you give the title of the video? Or maybe the correct URL, as the video seems to have moved. I am getting a "Video not found" error when going to the URL... Thanks! Daniel
I have used sa for username and just worked! Thanks all
Glad you got it working. Please mark as resolved.
You shouldn't use sa for your username it is not best practice and also is a big security risk. You should create a user and then assign it to the database and the proper mappings. The sa account should always be disabled.
The reason your sa account works and the other did not, is because you didn't assign the account the proper database mapping and most likely the proper permissions.
Thank you Charl, I have followed your advice, I don't know what's the problem with the main username, so I created a new one and worked just fine.
Great to hear that you got it working properly.
is working on a reply...