Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
puratchid3
Contributor
Contributor

NPrinting Section Access -Qliksense

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.

Labels (2)
30 Replies
Ruggero_Piccoli
Support
Support

Hi,

The user in the Qlik Sense connection must be RootAdmin in Qlik Sense server. It is a documented requirements. It is not clear from your question if you are speaking about this user or the recipients of the reports.

If you do a Run Verification in the connection be sure that all flags are green

Add some screenshot or log files of the errors you had. We cannot help you if we don't know what the error messages are showing.

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Make sure you configure your nprinting properly for section access use:

For other users it will be usefull to see log files in debug mode (check help.qlik.com for how to create logs in debug mode )

 

regards

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.
puratchid3
Contributor
Contributor
Author

Hi,

Below are the steps i followed.

1. Created a Connection to QlikSense app with our RootAdmin (Qliksense) user. Verification was successful all flags are green.

When NPrinting Job run using this account successfully sends the mail to the RootAdmin user without any issue.

2. But if I check the Apply Section Access , then all users other than RootAdmin user they get 'ERROR: NPrinting Engine failed to open document'. Thought  other users have professional license in QlikSense.

puratchid3
Contributor
Contributor
Author

Yes users have valid domain name as user connector is only active directory in both QlikSense and NPrinting.

Users also able to login NPrinting and Qliksense console using windows authentication.

Ruggero_Piccoli
Support
Support

Hi,

From https://help.qlik.com/en-US/nprinting/June2019/Content/NPrinting/DeployingQVNprinting/NPrinting-with...

  • In the QMC you must give the RootAdmin authorization to the Windows user that runs the Qlik NPrinting EngineWindows service. That Windows user must also be a domain user.

Be sure that the user that runs the Engine Windows service is RootAdmin in Qlik Sense server.

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
puratchid3
Contributor
Contributor
Author

Yes the RootAdmin in QMC is the one used for creating connection in NPrinting and the Engine Service.

Without Section Access applied to connection it succesfully send email to all the non root admin users. But when Section Access applied only the users marked as RootAdmin in QS receives succefully email. for other non root admin they receive engine failed.

Does this means the NPrinting engine runs for each user in section access with QlikSense server?

Can you clarify how this Connection with users in section access communicates ? so it will be easier to identify the actual issue.

 

puratchid3
Contributor
Contributor
Author

Attached the connection file of the Root User in NPrinting 

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

It is actually more important to see all other bits of the screen how the connection is configured and what is populated etc...

Also, (and this is not in requirements but it has been my own practice) I tend to make user used to create connection ADMIMN in section access table and make sure this user can have access to all data.

Another note - are there any user filters? Maybe they contradicting section access and create empty set!

Do you have logs from publish task so we can see what happens when report should be generated for user who is not root admin?

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.
puratchid3
Contributor
Contributor
Author

Attached the log of users it failed today.

Yellow highlighted are the Non Root Admin users in QS but having admin role in NPrinting.

Other 2 Users are Root Admin in QS for them the report was sent without any issue.