Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Error using Copy Database wizard Expand / Collapse
Posted Thursday, January 6, 2011 10:00 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, January 6, 2011 11:20 AM
Points: 1, 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()
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.
Post #1043865
Posted Thursday, January 6, 2011 11:59 AM
Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Tuesday, May 13, 2014 5:10 PM
Points: 704, 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:

Your other option is to back them all up and then restore the backups on the target server.
Post #1043950
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse