Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
kushalthakral
Creator III
Creator III

PDF not getting generated using publisher

Dear All

i am using QV Publisher for generating PDF reports but getting following error while running the job

Any one can help in resolving this issue

Thanks in advance

Kushal Thakral

Please find the error below:

The task "Distribution of Car Pdf Reports" failed. Part of the log file follows:

5/28/2014 11:59:27 AM   Error Could not print report. ErrorCode=TIME_OUT_ERROR. ReportID=Document\RP01

5/28/2014 11:59:27 AM   Error Distribution to resources failed with errors. Warnings: 0, Errors: 1

5/28/2014 11:59:28 AM   Error The task "Distribution of Car Pdf Reports" failed. Exception:

  1. 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)

1 Solution

Accepted Solutions
Not applicable

Log off and on, try printing a word doc etc to pdf if you can.  Maybe your PDF creator is not working properly?

View solution in original post

11 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

First think click  to my mind is do you have PDF Publisher Report distribution Licence with you?

Regards

ASHFAQ

ergustafsson
Partner - Specialist
Partner - Specialist

Hi Kushal,

Are you running a Loop and Reduce, or "just" a report?

If "just" a report, does it work in QV Desktop to bring out the report?

Regards,

Erik

kushalthakral
Creator III
Creator III
Author

Hi Erik

i am using it only to distribute the report, earlier it was working fine but all of a sudden i m getting error

i m not reloading the document.

Regards

Kushal

ashfaq_haseeb
Champion III
Champion III

Hi

why don't you increase timeout for PDF printer

Locate the file settings.ini found in

            Windows 2008 - C:\Windows\System32\config\systemprofile\AppData\Roaming\QlikTech\QlikViewBatch

           Windows 2003 - C:\Documents and Settings\Default User\Application Data\QlikTech\QlikViewBatch

Add the setting PDFPrintTimeoutInSeconds in the [Settings 7] section

[Settings 7]

PDFPrintTimeoutInSeconds= 120

Save settings.ini and restart QlikView Distribution Service

You have to set the value which might suits you. I mean you have to try several times until it fixes your issue.

You can even try with setting

<QvsTimeout>60</QvsTimeout>

Regards

ASHFAQ

Not applicable

Can you print to pdf from the desktop edition (i.e. pdf creator working ok?)

kushalthakral
Creator III
Creator III
Author

Hi Felim

i m working with Desktop edition but it is hanged on Printing Report only, nothing is happening

Regards

Kushal Thakral

ergustafsson
Partner - Specialist
Partner - Specialist

Hi Kushal,

If Desktop hangs as well, you might want to reinstall the PDF printer (PDF X-change 3) to ensure nothing is wrong in general with PDF reports.

Regards,

Erik

Not applicable

Log off and on, try printing a word doc etc to pdf if you can.  Maybe your PDF creator is not working properly?

kushalthakral
Creator III
Creator III
Author

Ok Felim will try and revert back may be need your help