Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

PDF Generation failed

Hi All,

We are getting the below error while generating the PDF using publisher. Everything was working fine last week. Only the change we have done is initiated the installation of the PDF Pro( Nuance PDF Converter Professional 8), but stopped before providing serial number.

All the other jobs are working fine. The report which is failing is a simple report ( no complexities in that)

Please could you advise what steps needs to be done to rectify this.

Error details as per QlikView log:

05/06/2014 09:26:49     Error   Failed to generate QVW File package.. Exception=QDSMain.Exceptions.NoDocumentPackageFoundException: No Document Package found.

   at QDSMain.DistributeHelper.GetDocumentPackage(ILogBucket logBucket, IDictionary`2 duplicateList, Document document, eDocumentType documentType, String url, Boolean showToolBar, String reportID, Int32 maxRetries, Int32 currentRetry)

   at QDSMain.DistributeHelper.GrabPDFFile(ILogBucket i_LogBucket, FilePackageContainer i_ParentFilePackageContainer, String i_FileName, Dictionary`2 i_DuplicateList, Document i_Document)

05/06/2014 09:26:49     Error   The task "test" failed. Exception:

  1. QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.LogBucketErrorException: Failed to generate QVW File package.. Exception=QDSMain.Exceptions.NoDocumentPackageFoundException: No Document Package found.

   at QDSMain.DistributeHelper.GetDocumentPackage(ILogBucket logBucket, IDictionary`2 duplicateList, Document document, eDocumentType documentType, String url, Boolean showToolBar, String reportID, Int32 maxRetries, Int32 currentRetry)

   at QDSMain.DistributeHelper.GrabPDFFile(ILogBucket i_LogBucket, FilePackageContainer i_ParentFilePackageContainer, String i_FileName, Dictionary`2 i_DuplicateList, Document i_Document)

   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)

Thanks,

Sijo Joseph

1 Solution

Accepted Solutions

Re: PDF Generation failed

Hi,

It seems that your PDF printer is corrupted.

Installed the attached PDF printer.

and make sure you select PDF Xchange 3.0 printer as a default printer

Regards

ASHFAQ

4 Replies

Re: PDF Generation failed

Hi,

It seems that your PDF printer is corrupted.

Installed the attached PDF printer.

and make sure you select PDF Xchange 3.0 printer as a default printer

Regards

ASHFAQ

Not applicable

Re: PDF Generation failed

Hi Ashfaq,

Thanks for the attached. Is this the trial version. Will it make a mark on the pdf that are generated.

Regards,

Sijo

Re: PDF Generation failed

Hi Sijo

This shipped with QV instillation.

You can use this without any issue.

Regards

ASHFAQ

Employee
Employee

Re: PDF Generation failed

Hi,

ASHFAQ is correct about using it without any issues. You can also try to the timeout.

To increase the PDF Printer timeout, do the following

  • 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

Bill

Community Browser