Question

When I try to connect to the database, to which I was previously able to connect, I get the following error:

enter image description here

I tried to solve this by looking up other stackoverflow questions and online resources, but without success. Any help is appreciated.

Was it helpful?

Solution

Version 852 is SQL Server 2016 - Your LocalDB is version 851 for VS2015

  • You try change compatibility level(lower)

    ALTER DATABASE DatabaseName SET COMPATIBILITY_LEVEL = 120;
    GO

Compatibility level 120 is SQL Server 2014 - version is 782.

I hope that It will work.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top