2023-07-31 09:39:43 Table: ca_query_def (43 of 43), History deletion records to process: 29
2023-07-31 09:39:43 Warning: A database constraint violation error occurred for table: ca_query_def
2023-07-31 09:39:43 Table: ca_query_def (43 of 43), History deletion records processed: 11, Elapsed time: 00:00:00
...
2023-07-31 09:40:07 Download - Replication Job Done. Warning: though the job was completed, an error occurred: A database constraint violation error occurred for table: ca_query_def. Please examine the log file for more details
310723-09:39:43.8903446L|024160|00005560|SystemEngi|CDb |DbImpl_Ado.cpp |000649|INFO | CDb_Ado::ExecSQL() enter - delete from ca_query_def where query_uuid=0x978AF7AC725CD04692E73353E6441EDB and domain_uuid=0x19FD6D6EBCD27042A06C28E8DEAB303E
310723-09:39:43.8917159L|024160|00005560|SystemEngi|DbImplAdo |DbImpl_Ado.cpp |002345|NOTIFY | evalSQLInfo description: The DELETE statement conflicted with the REFERENCE constraint "$ca_gr_r0000089600000000". The conflict occurred in database "mdb", table "dbo.ca_group_def", column 'query_uuid'. source: Microsoft SQL Server Native Client 11.0
310723-09:39:43.8940990L|024160|00005560|SystemEngi|amLog | |000000|ERROR | Fewer records were deleted than expected for table: ca_query_def. Expected to delete: 29, actually deleted: 11
Client Automation - All Versions.
An AM query created at enterprise is deleted. Deletion should be replicated to the DOMAINs but it fails because the query is linked to a group.
310723-09:39:43.8923556L|024160|00005560|SystemEngi|CDb |DbImpl_Ado.cpp |002644|NOTIFY | Error Message: ADO Version 10.0 - COM Error: ErrorCode:-2147217873,WordErrorCode:3119, IDispatch error #3119, The DELETE statement conflicted with the REFERENCE constraint "$ca_gr_r0000089600000000". The conflict occurred in database "mdb", table "dbo.ca_group_def", column 'query_uuid'., Microsoft SQL Server Native Client 11.0, (null)
310723-09:39:43.8924885L|024160|00005560|SystemEngi|amLog | |000000|ERROR | GetActionOnError: MS SQL dbErrCat=-3, dbDetailedError=-6, errorInfo=ADO Version 10.0 - COM Error: ErrorCode:-2147217873,WordErrorCode:3119, IDispatch error #3119, The DELETE statement conflicted with the REFERENCE constraint "$ca_gr_r0000089600000000". The conflict occurred in database "mdb", table "dbo.ca_group_def", column 'query_uuid'., Microsoft SQL Server Native Client 11.0, (null)
310723-09:39:43.8927723L|024160|00005560|SystemEngi|amLog | |000000|ERROR | SetIntermediateStatus2: Download: A database constraint violation error occurred for table: ca_query_def
310723-09:39:43.8932647L|024160|00005560|SystemEngi|amLogAndNotify |cAmoLog.h |000387|ERROR | Warning: A database constraint violation error occurred for table: ca_query_def
310723-09:39:43.8932912L|024160|00005560|SystemEngi|amLog | |000000|ERROR | DoTableDelete - Delete on Target DB failed. sql=delete from ca_query_def where query_uuid=0x978AF7AC725CD04692E73353E6441EDB and domain_uuid=0x19FD6D6EBCD27042A06C28E8DEAB303E
310723-09:39:43.8935095L|024160|00005560|SystemEngi|amLog | |000000|ERROR | SetIntermediateStatus1: Download: A database error was encountered