Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

NPrinting publish task fails with Access denied [5] error

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Andre_Sostizzo
Digital Support
Digital Support

NPrinting publish task fails with Access denied [5] error

Last Update:

Aug 5, 2021 8:18:13 AM

Updated By:

Sonja_Bauernfeind

Created date:

Jan 18, 2019 2:16:37 PM

When in the NPrinting's Qlik Sense connection configuration, "Apply user section access for reports" is selected to connect an app with Section Access enabled, the Publish Task fails with Access denied [5] error. In the NPrinting logs the following is registered:

...
Engine.Navigator.QlikSense.SDK 1.0.0.0 Engine.Navigator.QlikSense.SDK.SenseNavigator 20190111T172057.074+01:00 ERROR QLIKSERVERNAME 0 0 0 0 0 0 0 0 ERROR in OpenApp() : AppId=f072cb5d-6cdc-4052-a572-a0917494ae51 AppName=QLIKSENSEAPPNAME - Access denied [5]:Access denied() - at Qlik.Engine.Communication.QlikConnection.AwaitResponseTask[T](T task, String methodName, CancellationToken cancellationToken)?? at Qlik.Engine.Hub.OpenApp(String docName, String userName, String password, String serial, Boolean noData)?? at
...


and/or

...
Qlik.NPrinting.Engine    17.6.0.0    Qlik.NPrinting.Engine.Consumer.ConnectionResolvers    20190111T171417.456+01:00    WARN    QLIKSERVERNAME       0    0    0    0    0    0    0    0    Unexpected exception while trying to initialize a resolver for connection navigator=qliksense;proxyurl=https://fqdn.domain.local/;appid=f072cb5d-6cdc-4052-a572-a0917494ae51;identity=domain\username0 after getting the connecting and working tokens. The connecting and the working tokens will be now released. ERROR: Access denied [5]:Access denied(). Stack trace: ??Server stack trace: ??   at Qlik.Engine.Communication.QlikConnection.AwaitResponseTask[T](T task, String methodName, CancellationToken cancellationToken)??   at Qlik.Engine.Hub.OpenApp(String docName, String userName, String password, String serial, Boolean noData)??   at Engine.Navigator.QlikSense.SDK.Extensions.LocationExtensionsEx.AppEx(ILocation location, IAppIdentifier appIdentifier, ISession session, Boolean noData)??   at Engine.Navigator.QlikSense.SDK.SenseNavigator.ReconnectApp

...

 

Environment:

 

Resolution:


Use the same account listed in the logs under identity= to access the same app (see "appid="/" AppName=" in logs) via Qlik Sense Hub, and confirm that the same "Access Denied" error is prompted to the user. This confirms that the users selected as destination for the NPrinting Publish Tasks do not have access to the app / data due to Section Access.

In addition, if the NPrinting service account does not have Section Access ADMIN access level to the app, the connection metadata may fail to reload.

See Managing data security with Section Access.

Labels (1)
Contributors
Version history
Last update:
‎2021-08-05 08:18 AM
Updated by: