<?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 Error &amp;quot;Could not close the SourceDocument. Exception=The currently executing operation was aborted&amp;quot; in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Error-quot-Could-not-close-the-SourceDocument-Exception-The/ta-p/1713710</link>
    <description>&lt;P&gt;A QlikView distribution task fails with the error message:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Could not close the SourceDocument. Exception=The currently executing operation was aborted&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;This issue is mainly seen with larger QlikView Application (QVW) files. The reload is successful but the task fails when closing the document after saving it to disk.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Occasionally the error is preceded by a warning&amp;nbsp;message:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Warning Could not request the QlikView Engine process to quit.&lt;/FONT&gt;&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;BR /&gt;Environment:&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;BR /&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;This error is caused by the QVB.EXE process, which performs the task execution, requiring extensive time to close the reload task. The timeout can be altered in the QlikView Distribution service configuration.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To give the process more time:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop the QlikView Distribution Service&lt;/LI&gt;
&lt;LI&gt;Edit&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\Program Files\QlikView\Distribution Service\QVDistributionService.exe.config &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-family: tahoma,geneva,sans-serif;"&gt;Add on a new line&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;&amp;lt;add key="SecondsToWaitBeforeQVBKill" value="60"/&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: tahoma,geneva,sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Restart QlikView Distribution Service&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;If the issue still occurs, consider altering the value in step 3 to higher than 60 seconds. Commonly 60 seconds is enough to resolve the issue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;It may be necessary to reduce the number of log files stored or how long we wait for the document log before timing out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma,geneva,sans-serif;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;&amp;lt;add key="NbrOfDaysToKeepQDSLogs" value="30"/&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;and adjust the days to keep logs if necessary.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 May 2021 14:06:14 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2021-05-25T14:06:14Z</dc:date>
    <item>
      <title>Error "Could not close the SourceDocument. Exception=The currently executing operation was aborted"</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Error-quot-Could-not-close-the-SourceDocument-Exception-The/ta-p/1713710</link>
      <description>&lt;P&gt;A QlikView distribution task fails with the error message:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Could not close the SourceDocument. Exception=The currently executing operation was aborted&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;This issue is mainly seen with larger QlikView Application (QVW) files. The reload is successful but the task fails when closing the document after saving it to disk.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Occasionally the error is preceded by a warning&amp;nbsp;message:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Warning Could not request the QlikView Engine process to quit.&lt;/FONT&gt;&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;BR /&gt;Environment:&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;BR /&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;This error is caused by the QVB.EXE process, which performs the task execution, requiring extensive time to close the reload task. The timeout can be altered in the QlikView Distribution service configuration.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To give the process more time:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop the QlikView Distribution Service&lt;/LI&gt;
&lt;LI&gt;Edit&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\Program Files\QlikView\Distribution Service\QVDistributionService.exe.config &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-family: tahoma,geneva,sans-serif;"&gt;Add on a new line&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;&amp;lt;add key="SecondsToWaitBeforeQVBKill" value="60"/&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: tahoma,geneva,sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Restart QlikView Distribution Service&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;If the issue still occurs, consider altering the value in step 3 to higher than 60 seconds. Commonly 60 seconds is enough to resolve the issue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;It may be necessary to reduce the number of log files stored or how long we wait for the document log before timing out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: tahoma,geneva,sans-serif;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;&amp;lt;add key="NbrOfDaysToKeepQDSLogs" value="30"/&amp;gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;and adjust the days to keep logs if necessary.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 14:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Error-quot-Could-not-close-the-SourceDocument-Exception-The/ta-p/1713710</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2021-05-25T14:06:14Z</dc:date>
    </item>
  </channel>
</rss>

