Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

kushalthakral
Not applicable

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

Re: PDF not getting generated using publisher

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

11 Replies
ashfaq_haseeb
Not applicable

Re: PDF not getting generated using publisher

Hi,

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

Regards

ASHFAQ

erikadvectas
Not applicable

Re: PDF not getting generated using publisher

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
Not applicable

Re: PDF not getting generated using publisher

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
Not applicable

Re: PDF not getting generated using publisher

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

Re: PDF not getting generated using publisher

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

kushalthakral
Not applicable

Re: PDF not getting generated using publisher

Hi Felim

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

Regards

Kushal Thakral

erikadvectas
Not applicable

Re: PDF not getting generated using publisher

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

Re: PDF not getting generated using publisher

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

kushalthakral
Not applicable

Re: PDF not getting generated using publisher

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