Error using Copy Database wizard

  • 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.

  • 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.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply