<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Qlik Replicate and Qlik Cloud Data Integration (QCDI) with a SQL Server Source: The Distributor has not been installed correctly in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-Qlik-Cloud-Data-Integration-QCDI-with-a-SQL/ta-p/2460154</link>
    <description>&lt;P&gt;While work with &lt;FONT color="#339966"&gt;&lt;STRONG&gt;Microsoft SQL Server (log based)&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;source endpoint,&amp;nbsp;&lt;/SPAN&gt;to enable MS-REPLICATION in Microsoft SQL Server Management Studio (SSMS) for a Microsoft SQL Server, follow these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open &lt;STRONG&gt;SSMS&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Right-click on the &lt;STRONG&gt;Replication&lt;/STRONG&gt;&amp;nbsp;folder in the Object Explorer&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Configure Distribution&lt;/STRONG&gt; from the context menu&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Finish&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;By default, Qlik Replicate should handle the rest of the CDC configuration on the SQL Server. However, you may receive the following error when starting a task:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;[SOURCE_CAPTURE ]E: Failed (retcode -1) to execute statement: exec sp_replicationdboption @dbname = N'QCDI_Source', @optname = N'publish', @value = N'true' [1022502] (ar_odbc_stmt.c:5066)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[SOURCE_CAPTURE ]E: RetCode: SQL_ERROR SqlState: 42000 NativeError: 20028 Message: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]The Distributor has not been installed correctly. Could not enable database for publishing. Line: 1 Column: -1 [1022502] (ar_odbc_stmt.c:5074)&lt;/FONT&gt;&lt;/P&gt;
&lt;H3 id="toc-hId--525314414"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;This issue can occur when configuring the distribution while connected to the SQL Server using an IP address. To resolve this, connect to the SQL Server using the server host name (in below sample the server host name is "MSSQL2017") rather than the IP address when configuring the distribution.&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="object explorer.png" style="width: 879px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167608i69D7B32C21C7C31D/image-size/large?v=v2&amp;amp;px=999" role="button" title="object explorer.png" alt="object explorer.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H3 id="toc-hId-1962198419"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;, &lt;LI-PRODUCT title="Qlik Cloud" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2024 08:36:40 GMT</pubDate>
    <dc:creator>DesmondWOO</dc:creator>
    <dc:date>2024-06-10T08:36:40Z</dc:date>
    <item>
      <title>Qlik Replicate and Qlik Cloud Data Integration (QCDI) with a SQL Server Source: The Distributor has not been installed correctly</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-Qlik-Cloud-Data-Integration-QCDI-with-a-SQL/ta-p/2460154</link>
      <description>&lt;P&gt;While work with &lt;FONT color="#339966"&gt;&lt;STRONG&gt;Microsoft SQL Server (log based)&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;source endpoint,&amp;nbsp;&lt;/SPAN&gt;to enable MS-REPLICATION in Microsoft SQL Server Management Studio (SSMS) for a Microsoft SQL Server, follow these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open &lt;STRONG&gt;SSMS&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Right-click on the &lt;STRONG&gt;Replication&lt;/STRONG&gt;&amp;nbsp;folder in the Object Explorer&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Configure Distribution&lt;/STRONG&gt; from the context menu&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Finish&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;By default, Qlik Replicate should handle the rest of the CDC configuration on the SQL Server. However, you may receive the following error when starting a task:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;[SOURCE_CAPTURE ]E: Failed (retcode -1) to execute statement: exec sp_replicationdboption @dbname = N'QCDI_Source', @optname = N'publish', @value = N'true' [1022502] (ar_odbc_stmt.c:5066)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[SOURCE_CAPTURE ]E: RetCode: SQL_ERROR SqlState: 42000 NativeError: 20028 Message: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]The Distributor has not been installed correctly. Could not enable database for publishing. Line: 1 Column: -1 [1022502] (ar_odbc_stmt.c:5074)&lt;/FONT&gt;&lt;/P&gt;
&lt;H3 id="toc-hId--525314414"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;This issue can occur when configuring the distribution while connected to the SQL Server using an IP address. To resolve this, connect to the SQL Server using the server host name (in below sample the server host name is "MSSQL2017") rather than the IP address when configuring the distribution.&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="object explorer.png" style="width: 879px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167608i69D7B32C21C7C31D/image-size/large?v=v2&amp;amp;px=999" role="button" title="object explorer.png" alt="object explorer.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H3 id="toc-hId-1962198419"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;, &lt;LI-PRODUCT title="Qlik Cloud" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 08:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-Qlik-Cloud-Data-Integration-QCDI-with-a-SQL/ta-p/2460154</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2024-06-10T08:36:40Z</dc:date>
    </item>
  </channel>
</rss>

