Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
simospa
Partner - Specialist
Partner - Specialist

Print Report - Timeout has been exceeded

Hi all,

I've a strange issue.

One of our customer has a .qvw with a button with "Print Report" action. When opened with QlikView Client, it works fine (--> panel to choose the printer and then... print!), but opened in Access Point (either with Ajax and with IE Plugin) it immediateley gives a js alert with "Timeout has been exceeded" message. I inspected logs, restarted services, tried to add PDFPrintTimeoutInSeconds=120 in settings.ini, restarted IIS, lighted a candle to my favourite Saint... but nothing .

The PDF generated is about 400Kb , so small, too...

The same .qvw, put in another QV Server, works fine. Another .qvw that in my QV Server works fine... there doesn't work.

Windows Server 2012

QV 11 SR 12

IIS as webserver

Anyone can help me?

Thanks in advance,

S.

1 Solution

Accepted Solutions
simospa
Partner - Specialist
Partner - Specialist
Author

Hi all,

Qlik Support team answer me with this:

Ajax print PDF with error - Timeout has been exceeded.

000009011 |10/12/2015

Description

When trying to generate a PDF report in Ajax, the error 'Time out has been exceeded' is appearing.

Resolution

Please try reinstalling PDF X-Change 3 (PDF printer used by QlikView Server)

If you have a multi-server environment, PDF Printer will only be installed on the server hosting the Distribution Service by default.

You can install it manually by downloading the installer from the following link:

http://d1cf4w4kkla6tb.cloudfront.net/pdf/9.00/7119/_MSI/QvPDFSetup.exe
(Ensure the Spooler (Print Spooler) service is running before running the installer)

Once done, confirm the printer driver appears in the Devices and Printers applet under  \Control Panel\Hardware and Sound\Devices and Printers.

I'll try to do this and, if it will work, I'll mark this issue as solved.

S.

View solution in original post

7 Replies
HirisH_V7
Master
Master

Hi ,

Check this ,

In Your Management Console,-> Under Documents ->Select your Application ->Server->Availability->print and Export to excel (Check that Check Box) and its assigned to your user or user who want to access.

Hope this Helps,

-Hirish

HirisH
“Aspire to Inspire before we Expire!”
simospa
Partner - Specialist
Partner - Specialist
Author

Hi Hirishm,

thanks for your reply, but nothing changes 😞

S.

simospa
Partner - Specialist
Partner - Specialist
Author

Hi all,

Qlik Support team answer me with this:

Ajax print PDF with error - Timeout has been exceeded.

000009011 |10/12/2015

Description

When trying to generate a PDF report in Ajax, the error 'Time out has been exceeded' is appearing.

Resolution

Please try reinstalling PDF X-Change 3 (PDF printer used by QlikView Server)

If you have a multi-server environment, PDF Printer will only be installed on the server hosting the Distribution Service by default.

You can install it manually by downloading the installer from the following link:

http://d1cf4w4kkla6tb.cloudfront.net/pdf/9.00/7119/_MSI/QvPDFSetup.exe
(Ensure the Spooler (Print Spooler) service is running before running the installer)

Once done, confirm the printer driver appears in the Devices and Printers applet under  \Control Panel\Hardware and Sound\Devices and Printers.

I'll try to do this and, if it will work, I'll mark this issue as solved.

S.

simospa
Partner - Specialist
Partner - Specialist
Author

Ok, it works.

To complete all informations in this thread for future users, in the PDF service setup panel the parameter "Registration Code" must to be keept as is ("Trial").

S.

johanelopak
Contributor II
Contributor II

Is there a way to download this from somewhere else? The url is dead
LGH_1982
Contributor II
Contributor II

andries_bos
Creator II
Creator II

If this problem still arises after upgrading your server to 12.6 sp1 on a server , you have to set the default printer. (My simular case solve via a qlik case)

https://community.qlik.com/t5/Knowledge/Print-Report-to-PDF-via-Ajax-Client-with-error-Timeout-has-b... 

This problem took me 3 weeks to solve as Qlik could nog be downgraded to a previous good working version ;(( 

From the link the resolution:

PLEASE NOTE: PDF-Xchange 3.0 is a vulnerable printer, and we don't recommend using it. We are working on introducing support for other PDF printers in upcoming releases.

  1. Upgrade to Qlikview 12.60 SR1
  2. Make sure that PDF-XChange 3.0 is installed: Install or Reinstall PDF-Xchange Printer on QlikView Server 
  3. Add to Qlikview Server settings.ini
    1. Stop the QVS service
    2. Edit the settings.ini file in C:\ProgramData\QlikTech\QlikViewServer
    3. Add the line in the upper part
      DefaultPDPrinterName=PDF-XChange 3.0
  4. Save the file
  5. Restart the QlikView Server

Note:

Once updating the version of Qlikview to May 2021 SR2, the parameter name needs to be changed again to include the "F" in PDPrinterName

example: DefaultPDFPrinterName=PDF-XChange 3.0