Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Jul 13, 2022 8:07:28 PM
Jan 15, 2018 11:50:47 AM
NPrinting on-Demand is installed and configured correctly, the On-Demand button is visible. You can click on the button, choose the report and the format and run it. The execution starts but ends with an error.
This error is shown in the scheduler logs:
Bookmark with id Server\XXXX-XXX could not be found
Open the Source QlikView document with QlikView Desktop and go to Bookmarks>More. No bookmark is present in the User Bookmark window.
Qlik NPrinting 17 and later
A commonly seen performance impact is caused by the QlikView Document folder having too many sub-folders or files unrelated to Qlik stored in the same location as the .qvw files. Please remove unnecessary files and folders or move the document to the root folder of QlikView Document folder for an initial test.
It is possible that your license does not allow you to check this option. If so, you have to enable session access in the connection and for each user that uses NPrinting On-Demand. See the Qlik Online Help for details.
This problem occurs because bookmarks cannot be shared between users if the "Allow Server Objects" option is not checked. This means that the bookmarks created by the Users when launching the On-Demand request cannot be reached by NPrinting.
Another cause could be that you have two connections to the same QlikView document in the same NPrinting App. In this case, in the nprinting_scheduler_dev.log file you will get entries for both connections during attempted On-demand report generation (see bold in example excerpt below):
Qlik.NPrinting.Scheduler 18.19.6.0 Qlik.NPrinting.Scheduler.Service.LoadBalancer 20180914T015905.735+02:00 DEBUG QLIKSERVER2 Nprinting Task Identity 0 0 0 0 0 0 0 0 6374 Workload PrioritizedWorkload DynConnWeight WeightedWorkload #Req Startup Shutdown 1bced5eb-bed0-41e1-8c30-bc86137c7edb
Qlik.NPrinting.Scheduler 18.19.6.0 Qlik.NPrinting.Scheduler.Service.LoadBalancer 20180914T015905.735+02:00 DEBUG QLIKSERVER2 Nprinting Task Identity 0 0 0 0 0 0 0 0 navigator=qlikview;documentpath="\\Qlikserver2\cases\SALESDEMO\Sales Demo.qvw" 1,1(0,0,0) 2777 2777 1.000 2777 1 5000 500 1bced5eb-bed0-41e1-8c30-bc86137c7edb
Qlik.NPrinting.Scheduler 18.19.6.0 Qlik.NPrinting.Scheduler.Service.LoadBalancer 20180914T015905.735+02:00 DEBUG QLIKSERVER2 Nprinting Task Identity 0 0 0 0 0 0 0 0 navigator=qlikview;documentpath=qvp://qlikserver3/SalesDemoQVP.qvw 1,0(0,1,0) 0 0 1.000 0 0 18310 1831 1bced5eb-bed0-41e1-8c30-bc86137c7edb
If the QlikView document is opened with a direct URL or from a third party system, it can happen that the host parameter hasn't been specified in the URL. This will cause On-Demand to fail with the error in this article.
The host parameter is needed to process the temporary bookmarks needed during the On-Demand report generation.