Author |
Topic |
petey84
Starting Member
14 Posts |
Posted - 2010-11-19 : 14:24:40
|
Hi,I have a PC with sql server 2005 and managment studio installed on with the AdventureWorks database.I also have a laptop with sql server 2005 and managment studio installed.I have done a lot of work on the AdventureWork database which I would like to move to my laptop sql server.I have tried to detach the database from my desktop and attach it to sql server on my laptop, but I am getting the following error:Error 5171Can someone please help. Is there something else I would have to change like header because it is a different instance I am putting the database on?Please instruct.ThanksPete |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
petey84
Starting Member
14 Posts |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
petey84
Starting Member
14 Posts |
Posted - 2010-11-19 : 20:03:59
|
quote: Originally posted by tkizer Did you detach the database or did you just copy the file?If that doesn't work, then please try backup/restore.Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/Subscribe to my blog
Hi,Is this not the correct way for moving a database to two different instances.I've detached the database from the instance on my Desktop PC and copied the files to my laptop, which I then tried to attach to my laptop instance, thats when I get the error.What does the error mean? |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
petey84
Starting Member
14 Posts |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
petey84
Starting Member
14 Posts |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|