Solved

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

Posted on 2006-10-23
3
335 Views
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: http://support.microsoft.com/?kbid=322620, 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
SQL\Data\backup\master.bak"
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.

TIA
0
Comment
Question by:abansal97
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 17791737
you cannot restore the master database like this, as it is a system database.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad_bkprst_4g4w.asp

similary, the model & msdb database (msdb does not apply to msde installation though):
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad_bkprst_2w1f.asp
0
 
LVL 29

Assisted Solution

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

Author Comment

by:abansal97
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
then
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.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
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.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

738 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