2 Replies Latest reply: Mar 30, 2015 6:16 AM by Avinash Kuraku RSS

    Could not print report. ErrorCode=TIME_OUT_ERROR

      I am using QlikView Server 11 with Publisher and PDF Distributor license. Machine has 16 CPU cores and 96 GB RAM.

      I am trying to generate PDFs using 5 tasks running concurrently (5 x 800 = 4000 PDF reports total). The tasks are writing the reports to local disk (C:\PDF_drop).

      I have gone into the "Advanced" tab of the ReloadEngine and set "Max number of simultaneous QlikView engines for distribution" to 8.

      I limited it to 8 based on this post from Stefan:

      http://community.qlik.com/message/59851#59851

      However, when the tasks are running, one failed with the error mentioned in the title. A section of the log file is below:

       

      Any clues what is happening here? Thanks in advance!

       

      5/17/2012 17:16:12.0333107          Information          Memory Allocation Delta for this file=-0.06 Mb. Available Physical Memory Before Reduce=1042.69 Mb. Available Physical Memory After Reduce=956.22 Mb. Total Physical Memory=956.22 Mb.

      5/17/2012 17:16:31.8626366          Error          Could not print report. ErrorCode=TIME_OUT_ERROR. ReportID=Document\RP01

      5/17/2012 17:16:31.9256429          Information          Closing the document.

      5/17/2012 17:16:32.4536957          Information          Closed the QlikView Engine successfully. ProcessID=6356

      5/17/2012 17:16:32.4536957          Information          Distributing

      5/17/2012 17:16:32.4536957          Information          Distributing using resource "UAT Booking Channel report generation QVRPT_Folder_1".

      5/17/2012 17:16:32.4906994          Error          Distribution to resources failed with errors. Warnings: 0, Errors: 1

      5/17/2012 17:16:32.4906994          Information          Deleting temporary files.

      5/17/2012 17:16:32.5527056          Information          Closing the document.

      5/17/2012 17:16:35.3215639          Information          Closed the QlikView Engine successfully. ProcessID=8136

      5/17/2012 17:16:36.1186436          Error          The task "UAT Booking Channel report generation QVRPT" failed. Exception:

      QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.LogBucketErrorException: Distribution to resources failed with errors. Warnings: 0, Errors: 1

         at QDSMain.DistributeTask.RevertOneAndAlwaysOne(Document qvbDocument)

         at QDSMain.DistributeTask.ReleaseQvb(Document qvbDocument)

         at QDSMain.DistributeTask.Distribution(String fileName, DistributionRequest distributionRequest, TaskResult taskResult, String repeatVariableName, String currentRepeatVariableValue)

         at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

         --- End of inner exception stack trace ---

         at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

         at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)

      5/17/2012 17:16:36.3036621          Information          Task Execute Duration=00:48:15.6404562

      5/17/2012 17:16:36.3036621          Information          Sending Alert mail

      5/17/2012 17:16:36.5566874          Information          TaskResult.status=Finished

      5/17/2012 17:16:36.5636881          Information          Notifying all triggers of new state:FinishedWithErrors

      5/17/2012 17:16:36.5636881          Information          Notifying all triggers of new state:FinishedWithErrors - completed

      5/17/2012 17:16:36.5936911          Information          Saving Task Result

        • Re: Could not print report. ErrorCode=TIME_OUT_ERROR

          Hello simon.saugier,

           

          When the QlikView is installed, is installed automatically the PDFExchange. Well we did a test, print to pdf any text document and did not work. Then, we uninstalled the PDFExchange and then the Qlikview 11 and we installed QlikView 11 again. We did the test again and it worked.

           

          Do the backup of QVPR folder before te uninstallation.

           

          I hope I have helped.

           

           

           

          • Re: Could not print report. ErrorCode=TIME_OUT_ERROR
            Avinash Kuraku

            Hi Simon,

             

            You need to make sure your temp folder is on a share so both QVS and get to it.

             

            In QMC-> SYSTEM-> SETUP-> QVS-SERVER-> FOLDERS-> CHECK FOR ALTERNATE TEMPORARY FILES FOLDER PATHS.

             

             

            Also, need to make sure that the service Print Spooler is enabled. If this was disable when Qlik was installed, the PDF Xchange will not work and you have to uninstall it and install it again.

             

            Do the backup of QVPR folder before te uninstallation.