<?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 Error trying to do loop-and-reduce in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-trying-to-do-loop-and-reduce/m-p/173795#M1329601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: bold"&gt;EDIT:&lt;/P&gt;&lt;P&gt;I've talked with QlikTech, and they say that there most likely is a problem in the actual document, since it is pretty old. It works fine for every other document I've tried (included in install and self made).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to do a simple loop-and-reduce with the Presidents.qvw document installed with the server.&lt;/P&gt;&lt;P&gt;I'm running QVS SR1 10.00.08811 on a win2k8 R2 Server.&lt;/P&gt;&lt;P&gt;No fancy settings or anything, just the bare essential, reload enabled, but no values set in the Script Parameters section,&lt;/P&gt;&lt;P&gt;on the Reduce tab, I reduce by field value, the documents I had hoped to generate would get SourceDocName + DocField, Party, I'm loop and Reduce'ing on Field: Party&lt;/P&gt;&lt;P&gt;and I'm distributing to a mounted folder on the server.&lt;/P&gt;&lt;P&gt;When run, the task fails with the following error in the TaskLog.txt&lt;/P&gt;&lt;P&gt;"...&lt;/P&gt;&lt;P&gt;01-02-2011 15:24:49.8523722 Information Applied rules: Party="Dem.-Rep"&lt;BR /&gt;01-02-2011 15:24:49.8562782 Information Commencing ReduceData&lt;BR /&gt;01-02-2011 15:24:49.8621372 Error Could not run ReduceData. Exception=System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.&lt;BR /&gt; at QlikView.Doc.ReduceData(Boolean _Confirm, Object _DropFieldNames_ArrayOfString)&lt;BR /&gt; at QVBWrapper.Document.ReduceData(ILogBucket i_LogBucket)&lt;BR /&gt;01-02-2011 15:24:50.3601522 Information Applying rules (0), Preparing for Reduce (16), Reducing (19), Failure (25)&lt;BR /&gt;01-02-2011 15:24:50.3601522 Information All done.&lt;BR /&gt;01-02-2011 15:24:50.4412017 Information Closing the document.&lt;BR /&gt;01-02-2011 15:24:50.7165747 Information Closed the QlikView Engine successfully. ProcessID=5100&lt;BR /&gt;01-02-2011 15:24:50.7175512 Information Checkin (0), Initializing (0), Finished (356)&lt;BR /&gt;01-02-2011 15:24:50.7175512 Information Deleting temp files (0), Next round! (0)&lt;BR /&gt;01-02-2011 15:24:50.7234102 Error The task "Test Reduce DK" failed. ErrorCount=1"&lt;/P&gt;&lt;P&gt;Anyone experienced the same problem, and possibly got a solution?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Error trying to do loop-and-reduce</title>
      <link>https://community.qlik.com/t5/QlikView/Error-trying-to-do-loop-and-reduce/m-p/173795#M1329601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: bold"&gt;EDIT:&lt;/P&gt;&lt;P&gt;I've talked with QlikTech, and they say that there most likely is a problem in the actual document, since it is pretty old. It works fine for every other document I've tried (included in install and self made).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to do a simple loop-and-reduce with the Presidents.qvw document installed with the server.&lt;/P&gt;&lt;P&gt;I'm running QVS SR1 10.00.08811 on a win2k8 R2 Server.&lt;/P&gt;&lt;P&gt;No fancy settings or anything, just the bare essential, reload enabled, but no values set in the Script Parameters section,&lt;/P&gt;&lt;P&gt;on the Reduce tab, I reduce by field value, the documents I had hoped to generate would get SourceDocName + DocField, Party, I'm loop and Reduce'ing on Field: Party&lt;/P&gt;&lt;P&gt;and I'm distributing to a mounted folder on the server.&lt;/P&gt;&lt;P&gt;When run, the task fails with the following error in the TaskLog.txt&lt;/P&gt;&lt;P&gt;"...&lt;/P&gt;&lt;P&gt;01-02-2011 15:24:49.8523722 Information Applied rules: Party="Dem.-Rep"&lt;BR /&gt;01-02-2011 15:24:49.8562782 Information Commencing ReduceData&lt;BR /&gt;01-02-2011 15:24:49.8621372 Error Could not run ReduceData. Exception=System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.&lt;BR /&gt; at QlikView.Doc.ReduceData(Boolean _Confirm, Object _DropFieldNames_ArrayOfString)&lt;BR /&gt; at QVBWrapper.Document.ReduceData(ILogBucket i_LogBucket)&lt;BR /&gt;01-02-2011 15:24:50.3601522 Information Applying rules (0), Preparing for Reduce (16), Reducing (19), Failure (25)&lt;BR /&gt;01-02-2011 15:24:50.3601522 Information All done.&lt;BR /&gt;01-02-2011 15:24:50.4412017 Information Closing the document.&lt;BR /&gt;01-02-2011 15:24:50.7165747 Information Closed the QlikView Engine successfully. ProcessID=5100&lt;BR /&gt;01-02-2011 15:24:50.7175512 Information Checkin (0), Initializing (0), Finished (356)&lt;BR /&gt;01-02-2011 15:24:50.7175512 Information Deleting temp files (0), Next round! (0)&lt;BR /&gt;01-02-2011 15:24:50.7234102 Error The task "Test Reduce DK" failed. ErrorCount=1"&lt;/P&gt;&lt;P&gt;Anyone experienced the same problem, and possibly got a solution?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-trying-to-do-loop-and-reduce/m-p/173795#M1329601</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
  </channel>
</rss>

