Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

Announcements
Uploads getting stuck in the virus scanner. We are investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

NPrinting 17.3.1 - Cache stuck in Generating

Hey Everyone,

We seem to be having an issue with our NPrinting connecting to Qlikview Server. (Separate Servers)

Versions: NPrinting 17.3.1 / Qlikview Server 12.10.20200.0

Background: we have a QV file that reloads every 30minutes - very light on data. We then have an NPrinting Pixel Perfect (PNG) being generated from this document - on the hour.  However it doesn't pick up the data changes.

I noticed the thread: Re: Nprinting doesn't refresh the data around QVP and Local server connections.

Local Connection - Cache generates fine (but obviously have the issue above regarding refreshing data).

QVP Connection - gets stuck in "Generating" status. I think perhaps the string isn't right... just one QV server (no cluster). Is the logic for a QV server connection? qvp:// <SERVERNAME> / <MOUNTEDFOLDER> / <FILE>.qvw

If the above is correct - what are the next steps to remove the cache generating issue?  We've attempted using the requires authentication however this presents the same issue.

I can confirm NPrinting user is local admin on both servers, and can open in Server (as that NPrinting user) the Document on both NPrinting and Qlikview Servers.

Thanks heaps in advance.

8 Replies
Highlighted
Support
Support

Hi Kaitlyn,

This is how I would troubleshoot this issue:

(a). Make a note of the service account used to run the NPrinting Engine service

(b). Make sure there is no version mismatch between QlikView Desktop & Server. In other words, ensure that you are using the same version (including SR) of QlikView Desktop on your engine machine as the QlikView Server version

(c). Make sure that the mounted folder is Browsable

(d). Do the following:

On the machine running the NPrinting Engine, browse to the QlikView folder

Shift+RMB on Qv.exe

Select Run as different user

Enter the service account credentials noted in (a) and make sure QlikView Desktop does not open as Personal Edition

Click File > Open in Server & open your QlikView document

Note the path & filename in the QlikView Desktop header and use that in the NPrinting Connection settings

HTH - Daniel..

Highlighted
Not applicable

Hey Daniel,

Thanks for this.

Followed the above and verified everything as above.

However, it gets stuck as generating still.  I've turned on Debug logging and it doesn't seem to suggest much.  No errors.

It gets through the "Connection successful on all NPrinting engines." and then continues to be "generating".  The same app takes a minute or two via local connection. I've left this one for 30+ minutes, and still nothing.

Thoughts...? This server is not yet production ready so if I need to reinstall or something this can happen.

Thanks again.

K

Highlighted
Support
Support

Hi Kaitlyn,

At this stage I suggest you open a case with support.

HTH - Daniel.

Highlighted
Specialist
Specialist

Kaitlyn - Have you figured out your issue yet?  I ran across your post as I too am looking for info regarding NP 17 to QV 12 connection info and having issues with cache being stuck in Generating.  Thanks.

Highlighted
Not applicable

Hi Kris,

I spoke with support, and the discussion is that the size of the application (more specifically the number of objects) will impact the time it takes to generate this cache.  Eventually it should generate.  That said, we had an app - not heavy on data but quite a few objects in there and had to kill off many, many objects to ensure the generation of the cache didn't fatally time out.

I also am doing some more testing as I have a sneaking (currently unfounded) suspicion that NPrinting does not like Container Objects.... so maybe try without any containers if possible (it isn't for us due to the Pixel perfect resolution required).

Hope this helps.

Kaite

Highlighted

In terms of objects in qvw see my comments in  this thread:

QVW size limitations with NPrinting 17

in terms of containeers

these limitations are mentioned in Release notes for NPrinting 17.3.1:

  1. Objects in containers cannot be exported as images Jira issue ID: OP-3008 QlikView objects that are inside containers cannot be exported as images using Qlik NPrinting. Qlik NPrinting Designer allows you to insert objects into your report templates. However, due to a known issue, they are not exported to the final reports.
  2. Objects in containers are exported only if they are in front row Jira issue ID: OP-2429 QlikView objects inside a container are not active so they are not exported if they are not in the front row

cheers

Lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
Highlighted
Specialist
Specialist

Thanks for the info.

Highlighted
Specialist
Specialist

Thanks for the info.