<?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>topic Re: Unable to replicate due to encrypted error in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-replicate-due-to-encrypted-error/m-p/2555543#M16660</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;From my understanding, "Decrypt Always Encrypted columns" feature is supported only on MS SQL Server endpoint.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
    <pubDate>Tue, 01 Sep 2026 06:12:01 GMT</pubDate>
    <dc:creator>DesmondWOO</dc:creator>
    <dc:date>2026-09-01T06:12:01Z</dc:date>
    <item>
      <title>Unable to replicate due to encrypted error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-replicate-due-to-encrypted-error/m-p/2535922#M15460</link>
      <description>&lt;P&gt;We are setting up a new task to replicate from source Azure SQL Server into target endpoint SQL Server 2024.&lt;/P&gt;&lt;P&gt;The task ran but none of the tables get replicated. We hit into the following errors.&lt;/P&gt;&lt;P&gt;Table 'dbo'.'table1' has encrypted column(s), but the 'Capture data from Always Encrypted database' option is disabled. The table will be suspended.&lt;/P&gt;&lt;P&gt;Can share how to fix this please?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 03:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-replicate-due-to-encrypted-error/m-p/2535922#M15460</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2025-11-12T03:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to replicate due to encrypted error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-replicate-due-to-encrypted-error/m-p/2536041#M15466</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which version of Qlik Replicate are you using? I see a documented fix for this issue in version 2024.11.0.620 (and later). This may or may not be the root cause of the error in your situation.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 21:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-replicate-due-to-encrypted-error/m-p/2536041#M15466</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2025-11-12T21:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to replicate due to encrypted error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-replicate-due-to-encrypted-error/m-p/2555520#M16658</link>
      <description>&lt;P&gt;Therefore, there is an undesirable scenario:&lt;/P&gt;&lt;P&gt;After a failover, Replicate again incorrectly treats regular columns as encrypted.&lt;/P&gt;&lt;P&gt;May 2026 does not stop the table.&lt;/P&gt;&lt;P&gt;The table continues to operate, but some columns may disappear from the target.&lt;/P&gt;&lt;P&gt;In other words, May 2026 potentially transforms a noticeable “suspended” error into a less noticeable loss of columns. Always Encrypted remains an unsupported feature of MS-CDC;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2026 12:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-replicate-due-to-encrypted-error/m-p/2555520#M16658</guid>
      <dc:creator>korsikov</dc:creator>
      <dc:date>2026-08-31T12:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to replicate due to encrypted error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-replicate-due-to-encrypted-error/m-p/2555543#M16660</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;From my understanding, "Decrypt Always Encrypted columns" feature is supported only on MS SQL Server endpoint.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2026 06:12:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-replicate-due-to-encrypted-error/m-p/2555543#M16660</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2026-09-01T06:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to replicate due to encrypted error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-replicate-due-to-encrypted-error/m-p/2555642#M16665</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;After upgrading Qlik Replicate from November 2024 to May 2026 and installing Microsoft ODBC Driver 18, we encountered a serious issue with a Microsoft SQL Server MS-CDC source.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;The source tables contain a &lt;/SPAN&gt;&lt;SPAN&gt;_Version&lt;/SPAN&gt;&lt;SPAN&gt; column defined as:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;_Version timestamp NOT NULL&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;The corresponding target column is:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;_Version varbinary(8) NOT NULL&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;Before the upgrade, these tables were replicated normally.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;After upgrading to May 2026, INSERT operations started failing on the target with:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;A data error was encountered. Refer to the 'attrep_apply_exceptions' table for details.

RetCode: SQL_ERROR
SqlState: 23000
NativeError: 515

Cannot insert the value NULL into column '_Version';
column does not allow nulls. INSERT fails.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;Initially, this looked like a source data issue. However, we verified that there are no NULL values in the source table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;More importantly, the SQL Server CDC change table contains the correct &lt;/SPAN&gt;&lt;SPAN&gt;_Version&lt;/SPAN&gt;&lt;SPAN&gt; values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;__$operation = 2  INSERT
_Version      = 0x000000002CD88273

__$operation = 3  UPDATE BEFORE
_Version      = 0x000000002CD88273

__$operation = 4  UPDATE AFTER
_Version      = 0x000000002CD88275&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;So SQL Server CDC is capturing the column correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;However, in the Qlik Replicate Store Changes (&lt;/SPAN&gt;&lt;SPAN&gt;__ct&lt;/SPAN&gt;&lt;SPAN&gt;) table, the same events contain:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;INSERT  _Version = NULL
UPDATE  _Version = NULL&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;The target table therefore never receives the INSERT because &lt;/SPAN&gt;&lt;SPAN&gt;_Version&lt;/SPAN&gt;&lt;SPAN&gt; is NOT NULL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;We then enabled detailed Replicate logging and found the most important part of the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Replicate itself generates a SELECT against the SQL Server CDC table similar to:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;SELECT
    ct.&lt;SPAN class=""&gt;[__$operation]&lt;/SPAN&gt;,
    ...
    ct.&lt;SPAN class=""&gt;[_IDRRef]&lt;/SPAN&gt;,
    ct.&lt;SPAN class=""&gt;[_Marked]&lt;/SPAN&gt;,
    ct.&lt;SPAN class=""&gt;[_PredefinedID]&lt;/SPAN&gt;,
    ...
FROM &lt;SPAN class=""&gt;[cdc]&lt;/SPAN&gt;.&lt;SPAN class=""&gt;[dbo__R18_CT]&lt;/SPAN&gt; ct&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;SPAN&gt;_Version&lt;/SPAN&gt;&lt;SPAN&gt; column is completely missing from the SELECT generated by Replicate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;It should contain:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;ct.&lt;SPAN class=""&gt;[_IDRRef]&lt;/SPAN&gt;,
ct.&lt;SPAN class=""&gt;[_Version]&lt;/SPAN&gt;,
ct.&lt;SPAN class=""&gt;[_Marked]&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;but Replicate May 2026 generates:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;ct.&lt;SPAN class=""&gt;[_IDRRef]&lt;/SPAN&gt;,
ct.&lt;SPAN class=""&gt;[_Marked]&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;Therefore, the value is not lost by SQL Server CDC and it is not converted to NULL by the ODBC driver.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;The column is already excluded from the CDC query generated internally by Qlik Replicate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;The generated target INSERT also completely excludes &lt;/SPAN&gt;&lt;SPAN&gt;_Version&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;INSERT INTO dbo.Spr_Kontragentyi_Reference18
(
    &lt;SPAN class=""&gt;[_IDRRef]&lt;/SPAN&gt;,
    &lt;SPAN class=""&gt;[_Marked]&lt;/SPAN&gt;,
    ...
)
VALUES (...)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;As &lt;/SPAN&gt;&lt;SPAN&gt;_Version VARBINARY(8)&lt;/SPAN&gt;&lt;SPAN&gt; is NOT NULL on the target, SQL Server correctly rejects the INSERT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Why this is concerning&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;According to the Qlik Replicate documentation, SQL Server &lt;/SPAN&gt;&lt;SPAN&gt;TIMESTAMP&lt;/SPAN&gt;&lt;SPAN&gt; is a supported datatype and is mapped to Replicate &lt;/SPAN&gt;&lt;SPAN&gt;BYTES&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;The column is also not encrypted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Nevertheless, after upgrading to May 2026, Replicate appears to silently exclude this non-encrypted &lt;/SPAN&gt;&lt;SPAN&gt;TIMESTAMP/ROWVERSION&lt;/SPAN&gt;&lt;SPAN&gt; column from MS-CDC processing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;There is no suspension or clear warning indicating that the column has been removed from replication.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;This creates a significant data integrity risk:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;CDC continues running;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Store Changes records continue being generated;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;_Version&lt;/SPAN&gt;&lt;SPAN&gt; silently becomes NULL;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;INSERTs into targets with &lt;/SPAN&gt;&lt;SPAN&gt;NOT NULL&lt;/SPAN&gt;&lt;SPAN&gt; constraints fail;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;if the target allows NULL, replication could potentially continue with incorrect/incomplete data without an obvious failure;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;downstream DWH processing can therefore receive incomplete data or miss records entirely.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;SPAN&gt;This is especially concerning because May 2026 introduced changes to MS-CDC column handling and handling of encrypted columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;We previously also observed false "Always Encrypted" detection in the same environment, although &lt;/SPAN&gt;&lt;SPAN&gt;_Version&lt;/SPAN&gt;&lt;SPAN&gt; itself is not an encrypted column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Environment&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Source: Microsoft SQL Server, MS-CDC&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Source datatype: &lt;/SPAN&gt;&lt;SPAN&gt;timestamp NOT NULL&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;CDC datatype: &lt;/SPAN&gt;&lt;SPAN&gt;binary(8)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Target: Microsoft SQL Server&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Target datatype: &lt;/SPAN&gt;&lt;SPAN&gt;varbinary(8) NOT NULL&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Qlik Replicate before upgrade: November 2024&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Qlik Replicate after upgrade: May 2026&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Microsoft ODBC Driver: 18&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Store Changes enabled&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;SPAN&gt;At this point, our planned recovery is to roll back Replicate to the previous working version and replay CDC from the source LSN from before the May 2026 task was started, while the corresponding source CDC records are still available.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Has anyone seen this behavior with SQL Server &lt;/SPAN&gt;&lt;SPAN&gt;TIMESTAMP/ROWVERSION&lt;/SPAN&gt;&lt;SPAN&gt; columns after upgrading to Qlik Replicate May 2026?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this a known May 2026 regression in the new MS-CDC column handling logic?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2026 11:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Unable-to-replicate-due-to-encrypted-error/m-p/2555642#M16665</guid>
      <dc:creator>korsikov</dc:creator>
      <dc:date>2026-09-02T11:22:40Z</dc:date>
    </item>
  </channel>
</rss>

