无法打开数据库,因为它是版本 782.此服务器支持版本 706 及更早版本.不支持降级路径

2021-12-02 00:00:00 visual-studio sql-server

我使用 SQL Server 2014 Express 创建了一个示例数据库,并将其添加到我的 Windows 窗体解决方案中.当双击它打开时,我收到此错误.

I have created a sample database using SQL Server 2014 Express and added it to my Windows Form solution. When double click on it to open I get this error.

无法打开数据库,因为它是版本 782.此服务器支持 706 及更早版本.不支持降级路径

The database cannot be opened because it is version 782. This server supports version 706 and earlier. A downgrade path is not supported

我使用的是 Visual Studio 2013.我真的不明白我使用的是两个最新版本的 Microsoft 产品,而且它们不兼容.我错过了什么吗?我怎样才能打开这个数据库?

I am using Visual Studio 2013. I really don't understand that I am using the two latest versions of Microsoft products and they are incompatible. Am I missing something? How can I open this database?

推荐答案

尝试更改 工具 > 选项 > 数据库工具 > 数据连接 > SQL Server 实例名称.

Try changing Tools > Options > Database Tools > Data Connections > SQL Server Instance Name.

VS2013 的默认值是 (LocalDB)v11.0.

The default for VS2013 is (LocalDB)v11.0.

例如,更改为 (LocalDB)MSSQLLocalDB 似乎有效 - 不再出现版本 782 错误.

Changing to (LocalDB)MSSQLLocalDB, for example, seems to work - no more version 782 error.

相关文章