Re: Trouble moving db to another sql2005
- From: "RobinS" <RobinS@xxxxxxxxxxxxxxx>
- Date: Fri, 22 Dec 2006 12:35:18 -0800
Well, the easiest way I have found to do this is to detach it
from one SQLServer (right-click on the database in the Management
Studio and choose Detach), copy the mdf and ldf files to to wherever
you want them, and attach the database (right-click on Databases
in the Management Studio and select Attach) in the new SQLServer.
I think this will work for you.
Good luck.
Robin S.
----------------------------------
"dgk" <dgk@xxxxxxxxxxxxx> wrote in message
news:2ialo21spkclj14sm6otiunnmpqnk4rjjl@xxxxxxxxxx
I'm trying to copy a database from my machine's SQLServer2005 to a
production machine. I tried a restore from backup, which gave me an
error that the on disk structure was 611 and the production machine
supports 539. I've looked around and found similar problems, but those
were all involving SQL2000. These are both 2005. Oddly, the management
console of the production machine is version 9.00.2047.00, indicating
it's later than my machine's 9.00.1399.00. But that is the console,
not the db version, which I can't find.
My admin says that there is a big patch (or service pack) that
surprisingly isn't on the production machine and he'll do that
tonight. Does anyone know if that will cure the problem?
I don't even know if a restore will actually accomplish my goal of
getting the db into production. As you can tell, I'm not SQL2005
expert.
The db in question is the one that handles the authentication and user
profiles for asp.net version 2 (aspnetdb.mdf). I wrote the app using
sqlexpress am an now moving it to sqlserver. It works fine on my
machine and a test server, but apparently the production server is a
bit behind the times.
Any advice appreciated. I tried the script wizard but have no idea how
to use that.
.
- Follow-Ups:
- Re: Trouble moving db to another sql2005
- From: dgk
- Re: Trouble moving db to another sql2005
- References:
- Trouble moving db to another sql2005
- From: dgk
- Trouble moving db to another sql2005
- Prev by Date: Re: How to convince my customer to use SQL2005 instaed of Oracle10g
- Next by Date: Re: How to convince my customer to use SQL2005 instaed of Oracle10g
- Previous by thread: Trouble moving db to another sql2005
- Next by thread: Re: Trouble moving db to another sql2005
- Index(es):
Relevant Pages
|