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.

stabben23
Honored Contributor

PDF warning without sending mail

Hi I have a problem when I try to distribute pdf using Publisher. The problem occur only sometimes and I cant find any good information in the logfile.

The only thing is this when it gives me a warning:

(2015-05-21 16:15:59) Information: Distributing

(2015-05-21 16:15:59) Information: Distributing using resource "ProductCV LookALike_MailAttachment_1".

(2015-05-21 16:16:14) Warning: Failed to send mail to 1@xx.com

(2015-05-21 16:16:29) Warning: Failed to send mail to 2@xx.com

(2015-05-21 16:16:44) Warning: Failed to send mail to 3@xx.com

(2015-05-21 16:16:59) Warning: Failed to send mail to 4@xx.com

(2015-05-21 16:17:14) Warning: Failed to send mail to 5@xx.com

(2015-05-21 16:17:29) Warning: Failed to send mail to 6@xx.com

(2015-05-21 16:17:45) Warning: Failed to send mail to 7@xx.com

(2015-05-21 16:18:00) Warning: Failed to send mail to 8@xx.com

(2015-05-21 16:18:15) Warning: Failed to send mail to 9@xx.com

(2015-05-21 16:18:30) Warning: Failed to send mail to 10@xx.com

(2015-05-21 16:18:45) Warning: Failed to send mail to 11@xx.com

(2015-05-21 16:19:00) Warning: Failed to send mail to 12@xx.com

(2015-05-21 16:19:15) Warning: Failed to send mail to 13@xx.com

(2015-05-21 16:19:30) Warning: Failed to send mail to 14@xx.com

(2015-05-21 16:19:45) Warning: Failed to send mail to 15@xx.com

(2015-05-21 16:20:00) Warning: Failed to send mail to 16@xx.com

(2015-05-21 16:20:00) Warning: Distribution reported warnings for resource "ProductCV LookALike_MailAttachment_1" (MailAttachmentDistributionResource). Warnings=16

(2015-05-21 16:20:00) Warning: Distribution to resources reported warnings. Warnings: 17

(2015-05-21 16:20:00) Information: Deleting temporary files.

(2015-05-21 16:20:00) Information: Closing the document.

I can also find this in a logfile: Failed to delete temporary directories

This logfile when it success:

(2015-05-21 12:22:49) Information: Distributing

(2015-05-21 12:22:49) Information: Distributing using resource "ProductCV LookALike_MailAttachment_1".

(2015-05-21 12:22:59) Information: Distribution finished successfully.

(2015-05-21 12:22:59) Information: Deleting temporary files.

(2015-05-21 12:23:00) Information: Closing the document.

Tags (1)
10 Replies
MVP & Luminary
MVP & Luminary

Re: PDF warning without sending mail

If it's happens rather randomly I would think that then the network failed or the mail-server didn't responded in time or the mails are too large. Maybe you could find more within the windows event-logs.

- Marcus

stabben23
Honored Contributor

Re: PDF warning without sending mail

We has some other issue with connectivity to the NAS fileshare, but these pdf-files is distributed to mailaddresses.

Do you think its QDS or DSC that have problem? The mail is 1 sheet with 2 small tables and no pictures (small).

Employee
Employee

Re: PDF warning without sending mail

Hi,

There is a couple of things to try. One is to increase the SMTP timeout in the Mail Server settings in the QMC. The default is 100 seconds, I would try 1000 seconds.

The other is to increase the PDF Printer 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

Bill - Designated Support Engineer at Qlik
If a post helps to resolve your issue, please mark the appropriate replies as CORRECT.
MVP & Luminary
MVP & Luminary

Re: PDF warning without sending mail

I think it's rather not the QDS or DSC else more a temporary lack from network/mailserver ressources.

- Marcus

Employee
Employee

Re: PDF warning without sending mail

Hi Staffan,

The distribution service has to make a temp file to be able to create the PDFs. So, this could be the issue.

Bill

Bill - Designated Support Engineer at Qlik
If a post helps to resolve your issue, please mark the appropriate replies as CORRECT.
stabben23
Honored Contributor

Re: PDF warning without sending mail

Hi,  Bill -->Thanks for the hints,

Could it be when the tempfile is saved here, C:\ProgramData\QlikTech\DistributionService\1\temp\afc8f3bc-4aee-4571-927c-d3268665a0ec\document.qvw.

From our NAS fileshare that has connectivity problem?

stabben23
Honored Contributor

Re: PDF warning without sending mail

One thing that I notice is that when a task fails we have a Alert-E-mail, this mail is very often Failed in the Windows Application event log,

Failed to send mail to xxxx@hjduhf.com

Employee
Employee

Re: PDF warning without sending mail

Hi,

Yes, that could be the document. Please note that NAS are not supported by Qlik.

Bill

Bill - Designated Support Engineer at Qlik
If a post helps to resolve your issue, please mark the appropriate replies as CORRECT.
stabben23
Honored Contributor

Re: PDF warning without sending mail

Hi,

Yes Bill, We have found that out, now we are waiting for more disc in the QV server.