Hi,
I'm trying to use the Tasks/Copy Database function to create a copy of quite a large (by our standards, at least) database. the copy runs OK for a while and then fails with the following error in the log:
OnError,PLRETSQL01V,PLRE\svc_tst_plretsql01v,GraceII_OSCAR_UK_Daily_Copy,{357FE1C1-C473-4A3D-B7D0-E534FEE60EC0},{87E65163-55BD-4E6F-AF10-08A051ADB817},03/12/2015 12:20:30,03/12/2015 12:20:30,0,0x,ERROR : errorCode=0 description=The multi-part identifier "dbo.Retrocession.StageTableKey"
could not be bound. helpFile= helpContext=0 idofInterfaceWithError={C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
The stack trace below the error doesn't look too helpful:
StackTrace: at Microsoft.SqlServer.Management.Dts.DtsTransferProvider.ExecuteTransfer()
at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()
at Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.TransferDatabasesUsingSMOTransfer()
OnProgress,PLRETSQL01V,PLRE\svc_tst_plretsql01v,PLRETSQL01V_PLRETSQL01V_Transfer Objects Task,{05CD9DB6-3F7A-4E70-9A9C-D411B3EA76B2},{87E65163-55BD-4E6F-AF10-08A051ADB817},03/12/2015 12:20:30,03/12/2015 12:20:30,0,0x,Database transfer failed for 1 database(s).
OnProgress,PLRETSQL01V,PLRE\svc_tst_plretsql01v,PLRETSQL01V_PLRETSQL01V_Transfer Objects Task,{05CD9DB6-3F7A-4E70-9A9C-D411B3EA76B2},{87E65163-55BD-4E6F-AF10-08A051ADB817},03/12/2015 12:20:30,03/12/2015 12:20:30,100,0x,Transfer objects finished execution.
OnTaskFailed,PLRETSQL01V,PLRE\svc_tst_plretsql01v,PLRETSQL01V_PLRETSQL01V_Transfer Objects Task,{05CD9DB6-3F7A-4E70-9A9C-D411B3EA76B2},{87E65163-55BD-4E6F-AF10-08A051ADB817},03/12/2015 12:20:30,03/12/2015 12:20:30,0,0x,(null)
OnPostExecute,PLRETSQL01V,PLRE\svc_tst_plretsql01v,PLRETSQL01V_PLRETSQL01V_Transfer Objects Task,{05CD9DB6-3F7A-4E70-9A9C-D411B3EA76B2},{87E65163-55BD-4E6F-AF10-08A051ADB817},03/12/2015 12:20:30,03/12/2015 12:20:30,0,0x,(null)
OnWarning,PLRETSQL01V,PLRE\svc_tst_plretsql01v,GraceII_OSCAR_UK_Daily_Copy,{357FE1C1-C473-4A3D-B7D0-E534FEE60EC0},{87E65163-55BD-4E6F-AF10-08A051ADB817},03/12/2015 12:20:30,03/12/2015 12:20:30,-2147381246,0x,SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the
errors.
Could someone please give me some tips to help me figure out what's failing here? I've googled the error message (the start of it anyway) along with "MS SQL Server 2008 R2" and "copy database" but I haven't found anything relevant.
Thanks in advance,
Tony Spratt.