数据库版本问题 [英] database version problem

查看:196
本文介绍了数据库版本问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Plz先生告诉我我是如何解决这个问题的。



数据库''F:\ WEBSITE \WEBSERVICE\APP_DATA\PUBS2012.MDF' '无法打开,因为它是版本706.此服务器支持655及更早版本。不支持降级路径。

无法打开新数据库''F:\ WEBSITE \WEBSERVICE\APP_DATA\PUBS2012.MDF''。 CREATE DATABASE已中止。

尝试为文件F附加自动命名的数据库:\ Website \ WebService \ App_Data \ pubs2012.mdf失败。存在具有相同名称的数据库,或者无法打开指定的文件,或者它位于UNC共享上。

Plz sir tell me how i solve this problem.

The database ''F:\WEBSITE\WEBSERVICE\APP_DATA\PUBS2012.MDF'' cannot be opened because it is version 706. This server supports version 655 and earlier. A downgrade path is not supported.
Could not open new database ''F:\WEBSITE\WEBSERVICE\APP_DATA\PUBS2012.MDF''. CREATE DATABASE is aborted.
An attempt to attach an auto-named database for file F:\Website\WebService\App_Data\pubs2012.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

推荐答案

您正在尝试打开创建的数据库(或者升级到早期版本的SQL的更高版本。具体来说,您似乎正在尝试在Sql2008中打开SQL 2012数据库。您不能这样做 - 数据库格式只能由创建它的SQL版本打开,或者晚于此版本。如果您在更高版本中打开数据库,它将升级为新格式,并且无法再次在原始应用程序中打开。
You are trying to open a database created in (or upgraded to) a later version of SQL in an earlier version. Specifically, you seem to be trying to open an SQL 2012 database in Sql2008. You cannot do that - a database format can only be opened by the version of SQL that created it, or later than that. If you open a database in a later version, it is upgraded to the new format, and you cannot open in the original application again.


这篇关于数据库版本问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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