NPrinting Server 16 does not run tasks. The same tasks can be run correctly by NPrinting Designer
Article Number: 000027247 | Last Modified: 2018/06/15
The schedules are correctly listed in NPrinting Server> Monitoring tool.
They are started correctly but the execution process stops. You can see this in the log files:
Source Date Time Type Message
Service 20/10/2016 09:14:11 Information Service - QlikView NPrinting Designer
Service 20/10/2016 09:14:11 Information QlikView NPrinting version: 184.108.40.206
Service 20/10/2016 09:14:11 Information Log File: C:\Test\Logs\20161020_NPrintingSVC.log
Service 20/10/2016 09:14:11 Message Loading schedules
Service 20/10/2016 09:14:12 Message QlikView NPrinting file opened: C:\Test\Training\test.nsq
Service 20/10/2016 09:14:12 Message QlikView NPrinting file loaded: C:\Test\Training\test.nsq
Service 20/10/2016 09:14:12 Message External request thread loaded
Service 20/10/2016 09:14:12 Message On Demand thread loaded
Service 20/10/2016 09:14:12 Message 1 schedules loaded
Service 20/10/2016 09:14:12 Message Scheduler started
Service 10/20/2016 9:15:00 AM Message Service: event started
Service 10/20/2016 9:15:00 AM Message Run Schedule: Test schedule
Service 10/20/2016 9:15:00 AM Message Run Job: jtest
Service 10/20/2016 9:15:00 AM Message Run Task: task
There is no message after Run Task.
The same task can be run correctly using the Designer application.
The last message in the logs tells that the process stopped opening the QlikView document.
The problem may be due to
- an incorrect license assignment. NPrinting needs to open the QlikView document in the connection through the QlikView Desktop application. A valid license is needed to to this. You can license the local QlikView Desktop application or you can assign a named user CAL to the NPrinting User.
The NPrinting Service cannot run the task if a license is not correctly given.
- a message that it waiting for a manual answer in session 0.
NPrinting opens the QlikView document in a graphical session. There may be some message showed by QlikView that must be answered manually. For example, if you add or edit a macro to the QVW, the NPrinting User will be asked to allow the macro. QlikView will wait until it has an answer before working, so it can stop the task execution.
1.The best way to troubleshoot the problem is starting the Interactive service detection and access session 0 (see the article that explains how to do this). You will be able to see the QlikView application working in the background and understand immediately what is the problem blocking the execution process:
- there may be a QlikView warning message complaining that there is not an assigned license. In this case you have to assign a User Named CAL manually from QMC to the NPrinting Service User, as it is stated in the NPrinting requirements.
- there may be a message that requires a manual answer. For example, you may be asked to enable macros. Answer the question to resolve the issue.
2. If it is not possible to access session 0, you can open the QlikView document in the connection as the NPrinting Service User. To do this:
-Access the QlikView installation folder.
- SHIFT and right click on Qv.exe
- Choose "Run as a different user"
- Enter the NPrinting Service User account information in the window that opens.
- Open the QlikView document
3. If the QlikView document is saved on a different machine, be sure that the NPrinting user is a domain user and that have full access to the folder where the .qvw file is stored.