Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am using NPrinting April 2019 version.
While using section access with Qliksense i face error retrieving data.
Only the user with Root Admin roles in QlikSense is retrieving the data for others it return error.
The users already have professional and Analyser license in QlikSense same user is available in NPrinting also.
But the user only with Root Admin is getting the report.
Hi @puratchid3,
were You able to make it work? I'm having exactly the same problem. I'm the developer (I am not the root admin) so I have access to all streams and applications. I have access from QS to the application I want to create NPrinting reports from. My access is defined as ADMIN in Section Access and I'm using DOMAIN\USERID there. Section Access is definitely working fine (no issues when opening app from Hub). NPrinting connection is defined correctly (it uses domain account - the same is used to run NPrinting services and QS server, root admin in QS). Connection work fine for any other application without section access. That user also is defined in Section Access with admin privilege (without that I couldn't generate cache). My NPrinting user has correct DOMAIN/USERID provided in "Domain account" field in NPrinting. I'm using November 2018 version of NPrinting.
Now when I want to generate preview, I'm getting "NPrinting Engine failed to open document". When I run a task where I have 2 recipients defined (myself + user with root admin in QS) I'm getting the same error for my user but everything is fine for the other user that has root admin privileges.
Any ideas?
Here is task log:
May 13, 2020 3:42:41 PM | Info | Starting content resolution for report abcc8f2f-726f-41e4-88e7-829b3df47267 |
May 13, 2020 3:42:41 PM | Info | Starting content resolution for report abcc8f2f-726f-41e4-88e7-829b3df47267 |
May 13, 2020 3:42:55 PM | Info | Finished content resolution for report abcc8f2f-726f-41e4-88e7-829b3df47267 |
May 13, 2020 3:42:55 PM | Info | Starting content production |
May 13, 2020 3:42:55 PM | Warn | WARN: error during report generation: NPrinting Engine failed to open document |
May 13, 2020 3:42:55 PM | Info | Finished content production |
May 13, 2020 3:42:55 PM | Warn | Failed generation of report abcc8f2f-726f-41e4-88e7-829b3df47267 for user 0cb41344-2dfa-402a-861d-5acc71289abc. ERROR: NPrinting Engine failed to open document |
May 13, 2020 3:42:57 PM | Info | Finished content resolution for report abcc8f2f-726f-41e4-88e7-829b3df47267 |
May 13, 2020 3:42:57 PM | Info | Starting content production |
May 13, 2020 3:42:57 PM | Info | Finished content production |
May 13, 2020 3:42:57 PM | Info | Starting publishing for task bd278a13-e06f-4024-be2a-179942e64f13 report abcc8f2f-726f-41e4-88e7-829b3df47267 user 68b590d0-633e-461a-9625-8aed0443e54a file XXXXXXXXXXXXXX |
May 13, 2020 3:42:57 PM | Info | Finished publishing for task bd278a13-e06f-4024-be2a-179942e64f13 report abcc8f2f-726f-41e4-88e7-829b3df47267 user 68b590d0-633e-461a-9625-8aed0443e54a file XXXXXXXXXXXXXXXXX |
May 13, 2020 3:42:57 PM | Info | Plan branch execution completed |
Hi @rafalcqlik
Does NPrinting service account have access to stream where your application is in Hub. Just checking as Root Admin role applies only to QMC and stream access you could have setup using some custom rules which exclude NPrinting service account.
Hi @Lech_Miszkiewicz ,
Yes, service account has access to all streams and also has license assigned.
License is not required as per documentation.
And to be honest there is nothing else I can add to it. I am assuming that you made NPrinting service account part of section access with ADMIN privileges and made sure it also has relationship to all data (if you use SA for data reduction).
I cannot think of anything else.
cheers
Lech
Hi,
Based on the error log I think the issue is with the user that runs the Qlik NPrinting Engine service. As suggested by Lech please check that it mets all the requirements listed in the help site.
Best Regards,
Ruggero
I cannot find anything that we are missing in configuration. I found something like that:
April 2019 NPrinting and earlier versions: In the QS QMC, assign a QS 'Analyzer' license/token to the domain user account used as the NPrinting Connection Identity
We are using November 2018 and we do not have Analyzer licenses (only professionals) and that is assigned to service account. Besides, reports are being successfully generated for every QMC admin user.
We will try upgrading to February 2020.
Thanks for help, I will post the results.
Hi,
If you plan to upgrade, I would like to suggest you to upgrade to latest version that is April 2020.
Best Regards,
Ruggero
I have that already added. Without giving access to service account in section access, NPrinting wouldn't even generate the cache so I had to do that first.
We've also enabled the debug logging and here is what we found in the log for user which get the "NPrinting engline couldn't open document" (removed sensitive data, reminder: that user is a developer in QS with confirmed access to the app) :
As for upgrading to April 2020 - we like to be 1 version behind in case of any issues 🙂
Hi,
" No valid Sense Certificate found or Unauthorized user in Header" so be sure that the Qlik Sense certificates are correct and installed as explained in:
and check that the user who runs the Qlik NPrinting Engine services has the correct rights on the Qlik Sense server (RootAdmin).
Best Regards,
Ruggero