Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
When I try to connect to the database, to which I was previously able to connect, I get the following error:
I tried to solve this by looking up other stackoverflow questions and online resources, but without success. Any help is appreciated.
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;
Compatibility level 120 is SQL Server 2014 - version is 782.
I hope that It will work.
Required, but never shown