SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Error using Copy Database wizard


Error using Copy Database wizard

Author
Message
micke77sthlm
micke77sthlm
Grasshopper
Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)

Group: General Forum Members
Points: 15 Visits: 5
I've tried copying a database from SQL 2000 server to a new 2008 R2 server.

Im getting some errors when i do this:
Event Name: OnError
Message: ERROR : errorCode=-1073548784 description=Executing the query "EXEC dbo.sp_grantdbaccess @loginame = N'DOMAIN\MM_..." failed with the following error: "Windows NT user or group 'DOMAIN\MM_GROUP' not found. Check the name again.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
helpFile= helpContext=0 idofInterfaceWithError={C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
StackTrace: at Microsoft.SqlServer.Management.Dts.DtsTransferProvider.ExecuteTransfer()
at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()
at Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.TransferDatabasesUsingSMOTransfer()
Operator: NT AUTHORITY\SYSTEM
Source Name: CDW_SOURCESRV_DESTSRV_INSTANCE_2
Source ID: {0CD9568D-ADBD-4743-B4C1-2D760DF92F2D}
Execution ID: {9D188CCB-7F69-41F1-A52F-93F1F900EC76}
Start Time: 1/6/2011 4:27:39 PM
End Time: 1/6/2011 4:27:39 PM
Data Code: 0

This seems to have to do with the user/group access permissions to the database. In one of the steps in the wizard, i excluded the Logins option when it asks for Server Objects to be copied.

What would be the best option for me to copy all the databases from one server to another (they are on complete different networks). It's approx 100 databases, they are quite small, about 100-200Mb each. The security option is quite easy for me to manage, i can add these afterwards.
Chris Campbell-415954
Chris Campbell-415954
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1024 Visits: 258
If you can afford to have the source systems down for a short time, the quick and dirty way is to detach all of the databases on the source server, copy the files over to the target server, and then attach them to the target server: http://support.microsoft.com/kb/224071

Your other option is to back them all up and then restore the backups on the target server.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search