<?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: Task failed during CDC in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Task-failed-during-CDC/m-p/2434056#M10280</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/255986"&gt;@Titus&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out to Qlik Community.&lt;BR /&gt;&lt;BR /&gt;Could you check&amp;nbsp;the "&lt;SPAN&gt;Create target control tgables in schema" in the task setting? attrep_change table should be created under the control schema.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please also enable verbose logging on TARGET_APPLY. The task log will provide additional information. If you can't identify the root cause, please consider submitting a support ticket with the diagnostic package and verbose task log.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2024 02:41:59 GMT</pubDate>
    <dc:creator>DesmondWOO</dc:creator>
    <dc:date>2024-03-25T02:41:59Z</dc:date>
    <item>
      <title>Task failed during CDC</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Task-failed-during-CDC/m-p/2433967#M10270</link>
      <description>&lt;DIV class="w-full text-token-text-primary" data-testid="conversation-turn-7"&gt;
&lt;DIV class="px-4 py-2 justify-center text-base md:gap-6 m-auto"&gt;
&lt;DIV class="flex flex-1 text-base mx-auto gap-3 md:px-5 lg:px-1 xl:px-5 md:max-w-3xl lg:max-w-[40rem] xl:max-w-[48rem] group"&gt;
&lt;DIV class="relative flex w-full flex-col agent-turn"&gt;
&lt;DIV class="flex-col gap-1 md:gap-3"&gt;
&lt;DIV class="flex flex-grow flex-col max-w-full"&gt;
&lt;DIV class="min-h-[20px] text-message flex flex-col items-start gap-3 whitespace-pre-wrap break-words [.text-message+&amp;amp;]:mt-5 overflow-x-auto" data-message-author-role="assistant" data-message-id="eb5c170d-062a-451e-b931-2528aaafe14c"&gt;
&lt;DIV class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We are using SAP HANA as the source and Microsoft Azure SQL Database as the target. When we started the task, the full load was completed successfully. However, upon starting to apply CDC records to the target, the task failed with the error below.&lt;BR /&gt;&lt;BR /&gt;00024368: 2024-03-21T09:43:53 [TARGET_APPLY&amp;nbsp;&amp;nbsp;&amp;nbsp; ]E:&amp;nbsp; RetCode: SQL_SUCCESS&amp;nbsp; SqlState: 42000 NativeError: 229 Message: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The SELECT permission was denied on the object 'attrep_changesA50568549', database 'master', schema 'dbo'. [1022502]&amp;nbsp; (sqlserver_endpoint_imp.c:5528)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We did not mention the master database in the target endpoint; instead, we used another created database and granted db_owner permission. Why is the attrep table stored in the master database, and why are we encountering the above error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Titus&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="mt-1 flex justify-start gap-3 empty:hidden"&gt;
&lt;DIV class="text-gray-400 flex self-end lg:self-center items-center justify-center lg:justify-start mt-0 -ml-1 h-7 gap-[2px] visible"&gt;&lt;BUTTON class="flex items-center gap-1.5 rounded-md p-1 text-xs text-token-text-tertiary hover:text-token-text-primary md:invisible md:group-hover:visible md:group-[.final-completion]:visible"&gt;&lt;/BUTTON&gt;&lt;BUTTON class="flex items-center gap-1.5 rounded-md p-1 text-xs text-token-text-tertiary hover:text-token-text-primary md:invisible md:group-hover:visible md:group-[.final-completion]:visible"&gt;&lt;/BUTTON&gt;
&lt;DIV class="flex"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="pr-2 lg:pr-0"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="w-full text-token-text-primary" data-testid="conversation-turn-8"&gt;
&lt;DIV class="px-4 py-2 justify-center text-base md:gap-6 m-auto"&gt;
&lt;DIV class="flex flex-1 text-base mx-auto gap-3 md:px-5 lg:px-1 xl:px-5 md:max-w-3xl lg:max-w-[40rem] xl:max-w-[48rem] group"&gt;
&lt;DIV class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;DIV&gt;
&lt;DIV class="pt-0.5"&gt;
&lt;DIV class="gizmo-shadow-stroke flex h-6 w-6 items-center justify-center overflow-hidden rounded-full"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 23 Mar 2024 17:13:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Task-failed-during-CDC/m-p/2433967#M10270</guid>
      <dc:creator>Titus</dc:creator>
      <dc:date>2024-03-23T17:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Task failed during CDC</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Task-failed-during-CDC/m-p/2434056#M10280</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/255986"&gt;@Titus&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out to Qlik Community.&lt;BR /&gt;&lt;BR /&gt;Could you check&amp;nbsp;the "&lt;SPAN&gt;Create target control tgables in schema" in the task setting? attrep_change table should be created under the control schema.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please also enable verbose logging on TARGET_APPLY. The task log will provide additional information. If you can't identify the root cause, please consider submitting a support ticket with the diagnostic package and verbose task log.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 02:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Task-failed-during-CDC/m-p/2434056#M10280</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2024-03-25T02:41:59Z</dc:date>
    </item>
  </channel>
</rss>

