SQL backup version is incompatible with this server

百般思念 提交于 2019-12-23 17:19:51

问题


I get he following message when i try to restore a database backup to the customers SQL Server 2008.

System.Data.SqlClient.SqlError: The database was backed up on a server running version 10.50.1600. That version is incompatible with this server, which is running version 10.00.4064.

I hade a made a backup of the database and restored in on a server which had version 10.50.1600, then once i finished my dev work i backed it up but now it wont restore on the customers server 10.00.4064.

What are my options now? Is there a way to restore this? can i do a data import or export to the customers server?


回答1:


Basicly you need to do it by hand and a restore would not work. So you would need to do something of the following:

  1. Option1: Script the entire database (tables,views,indexes,procedures,functions,Data,...) with the development verison of the SQL Management studio it works you can also do that with some other tools like Aqua data studio and such. And then just run the sql script on the client server and the whole thing will just get recreated there
  2. Option2: setup a sql2008r2 on the client server the dev edition that is free anyway and then just use the Export GUI to transfer it over to the actual server

I would prefer Option1 since it is in my opinion a bit "cleaner"



来源:https://stackoverflow.com/questions/10750763/sql-backup-version-is-incompatible-with-this-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!