0 Replies Latest reply: Apr 3, 2015 10:58 AM by Laura Sébille RSS

    Distribution task error

      Hello everyone,


      I'm getting an error when I want to distribute an application from QMC.

      I use loop reduction.


      When I go the Publisher logs, I can see a distributionreport.xml.txt which contains:


      <?xml version="1.0" encoding="utf-16"?>

      <DistributionRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SourceDocumentName="D:\Qlikview\Applications\G2IM3\DSC\performance MLO.qvw">

        <DistributionList />

        <Category>G2IM3 - DSC</Category>



      And in the task log:


      03/04/2015 16:53:38.9419577InformationOpened successfully (0)
      03/04/2015 16:53:38.9419577InformationNumber of rule combinations was calculated successfully. Rounds=1
      03/04/2015 16:53:38.9419577InformationBinding Loop Reduction Set (0), Determinate Round Count (0), Determinating round count. (0), Finished (0)
      03/04/2015 16:53:38.9419577ErrorCould not distribute, unexpected error.. Exception=System.InvalidOperationException: Operation is not valid due to the current state of the object.

         at QDSMain.LoopReductionSet.get_Current()

         at QDSMain.DistributeTask.ApplyRules(ILogBucket i_LogBucket, DistributeSourceDocument i_SourceDocument, Document i_QVBDocument, Int32& io_Round)

         at QDSMain.DistributeTask.InternalExecute(ILogBucket i_LogBucket, TaskResult currentTaskResult)

      03/04/2015 16:53:38.9887580InformationClosing the document.
      03/04/2015 16:53:39.1915593InformationClosed the QlikView Engine successfully. ProcessID=12532
      03/04/2015 16:53:39.1915593InformationApplying rules (0), Initializing (0), Finished (249)
      03/04/2015 16:53:39.2227595InformationRepeatVariable set. Name=VarLangue, Value=US
      03/04/2015 16:53:39.2227595ErrorReload failed. Distribution skipped.
      03/04/2015 16:53:39.2227595InformationRepeatVariable set. Name=VarLangue, Value=E
      03/04/2015 16:53:39.2227595ErrorReload failed. Distribution skipped.
      03/04/2015 16:53:39.2227595ErrorThe task "G2IM3 - Reload & Distribute Performance  MLO" failed. ErrorCount=3



      I guess there must be something wrong with the way I parametrized the reduction but cannot find what..


      Any ideas ?

      Thank you for your help