Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
stabben23
Partner - Master
Partner - Master

PDF task fails

Hi, after a increase from 4 to 8 CPU in A VM-Ware enviorment there is no longer possible to run PDF tasks. (2014-02-05 13:01:52) Error: Could not print report. ErrorCode=PRINTER_NOT_FOUND. ReportID=Document\RP01(2014-02-05 13:01:52) Error: Could not save document stream to disk.. Exception=QVBWrapper.Exceptions.PdfPrintRetryException: Failed to print pdf.(2014-02-05 13:01:52) Error:    at QVBWrapper.Document.GeneratePdfFile(ILogBucket logBucket, String reportId)(2014-02-05 13:01:52) Error:    at QVBWrapper.Document.GetStream(ILogBucket i_LogBucket, eDocumentType i_DocumentType, String i_URL, Boolean i_ShowToolBar, String i_ReportID)(2014-02-05 13:01:52) Information: Closing the document.(2014-02-05 13:01:52) Information: Closed the QlikView Engine successfully. ProcessID=7512(2014-02-05 13:01:57) Information: Retry of to get document package.(2014-02-05 13:01:57) Error: Failed to generate QVW File package.. Exception=QDSMain.Exceptions.NoDocumentPackageFoundException: No Document Package found.(2014-02-05 13:01:57) Error:    at QDSMain.DistributeHelper.GetDocumentPackage(ILogBucket logBucket, IDictionary`2 duplicateList, Document document, eDocumentType documentType, String url, Boolean showToolBar, String reportID, Int32 maxRetries, Int32 currentRetry)(2014-02-05 13:01:57) Error:    at QDSMain.DistributeHelper.GrabPDFFile(ILogBucket i_LogBucket, FilePackageContainer i_ParentFilePackageContainer, String i_FileName, Dictionary`2 i_DuplicateList, Document i_Document)(2014-02-05 13:01:57) Information: Deleting temporary files.(2014-02-05 13:01:57) Information: Closing the document.(2014-02-05 13:01:58) Information: Closed the QlikView Engine successfully. ProcessID=7780(2014-02-05 13:01:58) Error: The task "Failure Report" failed. Exception:(2014-02-05 13:01:58) Error: 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.(2014-02-05 13:01:58) Error:    at QDSMain.DistributeHelper.GetDocumentPackage(ILogBucket logBucket, IDictionary`2 duplicateList, Document document, eDocumentType documentType, String url, Boolean showToolBar, String reportID, Int32 maxRetries, Int32 currentRetry)(2014-02-05 13:01:58) Error:    at QDSMain.DistributeHelper.GrabPDFFile(ILogBucket i_LogBucket, FilePackageContainer i_ParentFilePackageContainer, String i_FileName, Dictionary`2 i_DuplicateList, Document i_Document)(2014-02-05 13:01:58) Error:    at QDSMain.DistributeTask.RevertOneAndAlwaysOne(Document qvbDocument)(2014-02-05 13:01:58) Error:    at QDSMain.DistributeTask.ReleaseQvb(Document qvbDocument)(2014-02-05 13:01:58) Error:    at QDSMain.DistributeTask.Distribution(String fileName, DistributionRequest distributionRequest, TaskResult taskResult, String repeatVariableName, String currentRepeatVariableValue)(2014-02-05 13:01:58) Error:    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)(2014-02-05 13:01:58) Error:    --- End of inner exception stack trace ---(2014-02-05 13:01:58) Error:    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)(2014-02-05 13:01:58) Error:    at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)(2014-02-05 13:01:58) Information: Task Execute Duration=00:00:31.3687900(2014-02-05 13:01:58) Information: TaskResult.status=Finished(2014-02-05 13:01:58) Information: Notifying all triggers of new state:FinishedWithErrors(2014-02-05 13:01:58) Information: Notifying all triggers of new state:FinishedWithErrors - completed(2014-02-05 13:01:58) Information: Saving Task Result

1 Solution

Accepted Solutions
Bill_Britt
Former Employee
Former Employee


Hi,

The error PRINTER_NOT_FOUND. means there is an issue with the PDF printer and most of the time it is caused by the Windows Printer spooler being disable. If it was disable during server installation it will not work when you enable it. You will need uninstall  PDF Exchange and reinstall it.

Go to Windows Services

  • Locate the Print Spooler service
  • Make sure Startup type is set to: Automatic and the service is started

User-added image

Turning of Print Spooler service will generate similar errors. This service must be running for PDF XChange to work

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.

View solution in original post

8 Replies
Bill_Britt
Former Employee
Former Employee


Hi,

The error PRINTER_NOT_FOUND. means there is an issue with the PDF printer and most of the time it is caused by the Windows Printer spooler being disable. If it was disable during server installation it will not work when you enable it. You will need uninstall  PDF Exchange and reinstall it.

Go to Windows Services

  • Locate the Print Spooler service
  • Make sure Startup type is set to: Automatic and the service is started

User-added image

Turning of Print Spooler service will generate similar errors. This service must be running for PDF XChange to work

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
stabben23
Partner - Master
Partner - Master
Author

Many Thanks Bill, The Printer Spooler was not Started.

The tasks just run fine now!

//Staffan

Not applicable

Hi Bill,

Thanks for the heads up on this matter.

I have a very similar issue, in the application on the accespoint, the user has the ability to print the pdf via a button.

When this is done, the daily automatic distributions fails giving almost the exact error message in the log.

When a server restart is done, the automatic distributions works just as expected.

I am not sure whether this manually print button is the cause of my problem, but I don't think it was just a coincidence since it didn't give me the PDF.

So by your previous answer, I think this is also related to the printer spooler. Somehow it seems like the button perhaps is causing the printer spooler to go down. 

The really troubling part is that there are other qvw's who have the same button functionality, and theese does not seem to cause this problem.

Do you have any ideas on what to do to prevent this further on? Can this be a version issue? (pdf-xchange)

The settings of the buttons does not seem to differ.

Regards

Tobias

Not applicable

I am getting same issue . printer spooler service is running .

need your help in this.

prabhu0505
Specialist
Specialist

Hi Bill,

Do you know, why this software is not available in downloads section of the Qlikview site?

One more thing, prompted me for license key while installation I ignored that but still it worked. Is that obvious behaviour?

Advance Thanks for clarifications..

Bill_Britt
Former Employee
Former Employee

They pulled it a year or so ago. Here is the link for it.

http://d1cf4w4kkla6tb.cloudfront.net/pdf/9.00/7119/_MSI/QvPDFSetup.exe

I think so about the license key.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
ashfaq_haseeb
Champion III
Champion III

Hi,

There is no issue with license.

It will work without entering License key, nothing to worry.

Regards

ASHFAQ

Bill_Britt
Former Employee
Former Employee

Hi,

If the printer spooler service was disabled when you did the install, you will need to uninstall and reinstall pdf software.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.