Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!

Qlik Replicate and Microsoft Azure SQL (MS-CDC) source endpoint: Database is not enabled for MS-CDC

100% helpful (1/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
john_wang
Support
Support

Qlik Replicate and Microsoft Azure SQL (MS-CDC) source endpoint: Database is not enabled for MS-CDC

Last Update:

Oct 31, 2024 10:43:05 AM

Updated By:

Sonja_Bauernfeind

Created date:

Oct 31, 2024 10:42:26 AM

While accessing Microsoft Azure SQL (MS-CDC) as the source database, the task reports an error message during the task startup.

The messages in the task log file:

[SOURCE_CAPTURE  ]V:  Execute: 'select is_cdc_enabled from sys.databases d where d.database_id=db_id()'  (ar_odbc_stmt.c:2768)
[SOURCE_CAPTURE  ]E:  MS-CDC Fitness Check: Database is not enabled for MS-CDC [1020101]  (sqlserver_mscdc.c:727)
[SOURCE_CAPTURE  ]E:  Failed in MS-CDC fitness check [1020101]  (sqlserver_endpoint_capture.c:274)

The error occurs even if the DBA has correctly set up the database for MS-CDC by executing the following:

exec source_db_name.dbo.sp_cdc_enable_db

Environment

  • Qlik Replicate, all versions
  • Microsoft Azure SQL source, all versions

 

Resolution

Add an internal parameter to adjust task behavior:

  1. Open the Microsoft Azure SQL (MS-CDC) source endpoint
  2. Go to the Advanced tab
  3. Open Internal Parameters
  4. Add a new parameter named UseDBNameInsteadOfDBID, and enable it by ticking the checkbox: 

    UseDBNameInsteadOfDBID.png

 

Labels (1)
Version history
Last update:
13 hours ago
Updated by: