I am using Visual Studio 2017 and SQL Server 2014. While attaching a database file to Visual Studio, I get this error:
\"\"
After upgrading the file I used t
This worked for me :
open command prompt and type :
cd "C:\Program Files\Microsoft SQL Server\130\LocalDB\Binn"
Run this command in cmd to delete the local db :
SqlLocalDB.exe delete "MSSQLLocalDB"
(or SqlLocalDB.exe stop "MSSQLLocalDB", if you get an error of intance still running)
Then type in this command to create a new updated instance of local db :
SqlLocalDB.exe create "MSSQLLocalDB"
Reference : https://www.youtube.com/watch?v=bCjc9Mmx-bM