Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Sri_Bhuvana
Partner - Contributor
Partner - Contributor

Task failing in Nprinting

While executing connection in Nprinting, getting error as 

Cache generation failed: NPrinting Engine(s) failed to open document:

Failed to open a resolver for connection navigator=qliksense;applytheme=True;proxyurl=https://*********/;appid=******;identity=********. ERROR: Qlik.Engine.MethodInvocationException: Access denied [5]:Access denied()

Then We tried to change identity of user who having admin level access and then the connection is executed successfully. But, while execution of task for same connection , getting below error even though the user is enabled in security Role and user has the NPrinting user profile setup with domain account.

WARN: error during report generation: NPrinting Engine(s) failed to open document: navigator=qliksense;applytheme=True;proxyurl=https://*********/;appid=******;identity=********.Check connection page for connection status.

Please help in resolving issue

Labels (2)
2 Replies
Lucas_Gatling
Support
Support

@Sri_Bhuvana does the source app (QVW or QVF) have section access enabled on it? If so, check the section Access table in the source document and ensure that the Nprinting service account has been added properly to the Section Access table. Or you can try create a copy of the source QVF or QVW without Section Access and you use that App for the Nprinting Connection as well.

If the issue is solved please mark the answer with Accept as Solution.
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @Sri_Bhuvana - seems that you are duplicating posts for no reason: https://community.qlik.com/t5/Qlik-NPrinting/Report-Generation-Failing-in-Qlik-Nprinting/td-p/209817...

I have already commented on that issue. and the questions I asked are:

  • Are those users enabled in Task-->Users/Groups?
  • Do you have section access as I mentioned before? If Yes:
    • Do users have their domain account populated?
    • Do all users have access to Qlik Sense app?
      • Is the Qlik Sense app published to stream
      • Are the sheets used in app a base sheets (note that personal sheets cannot be accessed by others and community sheets may be limited so if section access is used then NPrinting isn;t able to access personal sheets when impersonating user.)

The issue is that you are probably trying to use section access (there is a setting in NPrinting connection for that) and you are not configuring all required pieces which are:

  • Qlik Sense
    • users need to be domain users
    • users need to have access to app/sheets used in NPrinting (nprinting will "impersonate" a users when section access is used)
  • NPrinting
    • users need to have their NPrinting profiles created
    • users need to have domain account attribute populated and matching the same account used in section access
    • nprinting identity used in connection as a good practice should be configured with  Admin/Full access to all data in your section access

All above applies to scenarios where you try to use section access, or when there is section access in your Qlik Sense app.

more on that obviously in documentation: https://help.qlik.com/en-US/nprinting/May2023/Content/NPrinting/DeployingQVNprinting/Section-access....

so bottom line is - are you using section access?

 

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.