Cannot be opened because it is version 852. this server supports version 782 and earlier

前端 未结 5 472
旧时难觅i
旧时难觅i 2020-12-03 15:23

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

5条回答
  •  借酒劲吻你
    2020-12-03 15:33

    This worked for me :

    1. open command prompt and type :

      cd "C:\Program Files\Microsoft SQL Server\130\LocalDB\Binn"
      
    2. 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)

    3. 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

提交回复
热议问题