Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now

SQL Server cannot do an initial load and returns error that AR_PUBLICATION_0000# does not exist.

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Ted_Manka
Support
Support

SQL Server cannot do an initial load and returns error that AR_PUBLICATION_0000# does not exist.

Last Update:

May 13, 2021 10:25:48 AM

Updated By:

Ted_Manka

Created date:

May 13, 2021 10:25:48 AM

When loading SQL server for the first time you may receive an error like:

[SOURCE_CAPTURE ]W: Capture functionalities could not be set. RetCode: SQL_ERROR SqlState: 42000 NativeError: 20026 Message: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The publication 'AR_PUBLICATION_0000#' does not exist. Line: 1 Column: -1 (sqlserver_log_utils.c:1822)

Where # is some number representing a publication that Replicate has attempted to create and then reference.  

Environment

  • Qlik Replicate
  • SQL Server Source

Resolution

1) Add the user that Replicate is using to interface with SQL Server to the sysadmin role
2) Let Replicate create the publication by restarting the task.  This can be either a fresh start or resume as the first thing Replicate does is check for publication and articles and will create them if they do not exist.
3) Optional: remove the user from the sysadmin role

Cause 

Replicate cannot find this publication as it failed to create it.  Some SQL Server instances will have competing security rules that prevent the standard install of Replicate from creating the publication.

Labels (1)
Contributors
Version history
Last update:
‎2021-05-13 10:25 AM
Updated by: