Mssql- Add Heartbeattable- OGG-05268 Failed to enable change data capture for table 'GGS.<heartbeat table>' in the database '<dbname>'. SQL error: 50000
(Doc ID 2950222.1)
Last updated on JANUARY 28, 2024
Applies to:
Oracle GoldenGate - Version 19.1.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
Why the add heartbeattable was failing with the following error
GGSCI 2> Add heartbeattable frequency 300
2023-05-09 14:15:13 INFO OGG-14000 Successfully created heartbeat table "[<heartbeat table>]".
2023-05-09 14:15:13 INFO OGG-14001 Successfully created heartbeat seed table "[<heartbeat table>_SEED]".
2023-05-09 14:15:13 INFO OGG-14016 Successfully created heartbeat history table "[<heartbeat table>_HISTORY]".
2023-05-09 14:15:14 ERROR OGG-05268 Failed to enable change data capture for table 'GGS.<heartbeat table>' in the database '<dbname>'. SQL error: 50000: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Could not update the metadata that indicates table [GGS].[<heartbeat table>] is enabled for Change Data Capture. The failure occurred when executing the command 'sp_cdc_create_change_table'. The error returned was 916: 'The server principal "S-1-9-3-2384526852-1182620053-3747026102-721547432" is not able to access the database "<db name>" under the current security context.'. Use the action and error to determine the cause of the failure and resubmit the requ.
2023-05-09 14:15:14 ERROR OGG-05278 Failed to enable logging of supplemental log data for table: GGS.<heartbeat table>.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |