How do I upgrade from MSDE 1.0 to either MSDE 2000 or SQL Server 2005 Express Edition?

Posted on 2006-10-23
Last Modified: 2008-02-01
I would like to upgrade an older MSDE 1.0 installation on Windows 2000 Server to a MSDE 2000 installation on Windows 2003 Server. I am also willing to use SQL Server 2005 Express Edition if it's easier.

I looked at the following white paper:, but am not sure if it applies to the the desktop versions.

I have tried doing a backup from MSDE 1.0 and restore to MSDE 2000, but got the following error during the restore:

C:\Program Files\Microsoft SQL Server\MSSQL>osql -E
1> RESTORE DATABASE master FROM DISK = "C:\Program Files\Microsoft SQL Server\MS
2> go
Msg 3168, Level 16, State 1, Server SERVER2, Line 1
The backup of the system database on device C:\Program Files\Microsoft SQL
Server\MSSQL\Data\backup\master.bak cannot be restored because it was created
by a different version of the server (117441135) than this server (134218488).
Msg 3013, Level 16, State 1, Server SERVER2, Line 1
RESTORE DATABASE is terminating abnormally.

Question by:abansal97
LVL 142

Accepted Solution

Guy Hengel [angelIII / a3] earned 250 total points
ID: 17791737
you cannot restore the master database like this, as it is a system database.

similary, the model & msdb database (msdb does not apply to msde installation though):
LVL 29

Assisted Solution

Nightman earned 250 total points
ID: 17791740
You can't restore the master database across versions - only user databases

Author Comment

ID: 17792088
OK, that gave me the clue to proceed. Since the timestamp is equal, I'll split the points.

I additionally had to do the following.

I looked for the user databases, by typing the following:
1> SELECT name FROM master.dbo.sysdatabases WHERE DBID > 4
2> GO

After finding the databases, I then backed them up in MSDE 1.0.

When restoring the databases, I had to do the following, since the destination files had a different path than the original:
1> RESTORE FILELISTONLY FROM DISK = path_to_backup_set
2> GO
1> RESTORE DATABASE database_name FROM DISK = path_to_backup_set WITH MOVE logfile TO path_to_new_logfile, MOVE datafile TO path_to_new_datafile
2> GO

HTH someone.

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

776 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