[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Restoration of 32-bit database into 64-bit environment

Posted on 2011-03-03
3
Medium Priority
?
810 Views
Last Modified: 2012-05-11
I have made a backup of a 32-bit database using Management Studio Express (ver 10.50.1600.1).

I have a new 64-bit server where SQL Express 2008 64-bit and Management Studio Express (ver 10.0.1600.22 ((SQL_PreRelease).080709-1414) is installed.

In attempting to restore the backup onto the new server. I get the following error....

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.4000.  Either restore the database on a server that supports the backup, or use a backup that is compatible with this server.

Is my issue that I am initially working with SQL Express 2008 R2 and the new installation is NOT R2???

Otherwise, what's the problem?
0
Comment
Question by:TSFLLC
3 Comments
 
LVL 5

Expert Comment

by:OrcaKnight
ID: 35029693
To put it briefly, yes. :) The destination SQL version has to be equal to or higher than the source, unless you use an interim format, like CSV or previous version.
0
 
LVL 30

Expert Comment

by:Olaf Doschke
ID: 35029987
"and the new installation is NOT R2???" Yes, you said so. 2008 R2 is not a service pack, it's a release 2, a major new version, rather SQL Server 2010. And even thought the 2008 is a full version while your R2 is an express version only, the version is newer and you can't restore an R2 backup in an SQL2008 Server.

Steps you can do:
Create a new database in the SQL 2008 R2 Express Server and in options set it's compatibility to SQL 2008, then copy the R2 database into that database and backup the database. Then restore that backup.

Bye, Olaf.
0
 
LVL 13

Accepted Solution

by:
dwkor earned 2000 total points
ID: 35030442
Olaf, you cannot achieve the downgrade with database compatibility option. This option controls SQL Server behavior, not the file format.

If you need to downgrade the database, the simplest option is to generate the script on R2 Management Studio/Database/Right mouse click/tasks/generate script) WITH "script data" option enabled and run this script on the destination 2008 server. This would not work very well if you have a lot of data - in that case you need to export/import data via wizards or bcp.

But the simplest option is to install new SQL 2008 R2 express.

PS 32 bit vs. x64 does not have anything to do with the database files/backups.
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question