异常DATABASE1.MDF'无法打开,因为它是版本655.此服务器支持版本612和更早版本.不支持降级路径 [英] Exception DATABASE1.MDF' cannot be opened because it is version 655. This server supports version 612 and earlier. A downgrade path is not supported

查看:73
本文介绍了异常DATABASE1.MDF'无法打开,因为它是版本655.此服务器支持版本612和更早版本.不支持降级路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试打开数据库时遇到此异常.我知道我需要将数据库升级到655,但是有人可以详细告诉我该怎么做吗?另外,我想让你知道我在笔记本电脑上安装了VS2012,但是即使我在该项目上运行该项目,我也会遇到相同的异常,因此请提供详细答案帮助我.预先感谢

Hi I am getting this exception when i try to open my database. I know that i need to upgrade my database to 655 but can someone tell me in detail how to do that? Plus i want you to know that i have VS2012 installed on my laptop but even when i run this project on that i get the same exception so please help me out with detailed answer. Thanks in advance

推荐答案

您必须在SQL Server实例中安装.mdf文件.因此,VS版本通常是无关紧要的(除非过时的VS问题,显然不是这里的问题),重要的是您拥有的SQL Server版本.

You have to mount the .mdf file in an instance of SQL Server. So version of VS is typically irrelevant (barring out of date VS issues, clearly not the problem here), which version of SQL Server you have is what matters.

也就是说,如果您已经安装了适当版本的SQL Server,并且在Visual Studio中遇到此错误,则可能是配置问题.Visual Studio不知道应使用哪个SQL Server实例,因此您可以指定适当的实例.

That said, if you've got the appropriate version of SQL Server installed and you're getting this error in Visual Studio, you likely have a configuration issue. Visual Studio doesn't know which SQL Server instance it should use, so you can specify the proper instance.

在Visual Studio中:工具→选项→数据库工具→数据连接,然后将"SQL Server实例名称"更改为适当的名称.

In Visual Studio: Tools → Options → Database Tools → Data Connections, then change the 'SQL Server Instance Name' to the appropriate one.

这篇关于异常DATABASE1.MDF'无法打开,因为它是版本655.此服务器支持版本612和更早版本.不支持降级路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆