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: 
rmueller
Contributor III
Contributor III

Anyone using Nprinting with Extranet Server?

We have a qlikview and a qlikview Extranet server (QES) running in our environment.

NPrinting On-Demand works fine with the qlikview server.

(we are using the sample - Sales Demo to eliminate any of our own applications)

From the Internet, using a document on the Extranet server, one can open the On-Demand Qlik Nprinting control.  Queue items can be deleted, can see reports run successfully from qlikview server access point, can open reports successfully run from qlikview server.

When a report is created/generated - status results is always 'Error' when using a document on the Extranet server access point

Does anyone have an Nprinting On-Demand working with an Extranet server?

Really stuck, need some help.

background...

Nprinting V17.5

Qlikview and Extranet Servers are 12.10.20400.0

Extranet server sits in a DMZ - doesnt seem to matter if the firewall connection uses NAT or not, both behave the same: reports error (all ports are open)

Nprinting server and Qlikview server are both in the same broadcast network, the NPrinting server is in a different DNS domain from the Extranet server and the Qlikview server

Extranet server name is qes.ourlonghanddomain.com (not really, but for example)

Nprintint server name is nprinting.ourshortdomain.com

Qlikview server name is qlikview.ourlonghanddomain.com

All servers have DNS search lists set

          ourlonghanddomain.com

          ourshortdomain.com

All servernames are registered in DNS

ron

1 Solution

Accepted Solutions
rmueller
Contributor III
Contributor III
Author

I'll answer my own question correctly...

Nprinting ON-demand printing doesn't necessarily "work" with an Extranet server, since it needs the ability to access shared bookmarks in the QVW.   Extranet licensing does not allow users to share bookmarks.

To prove this...If the service account user (the one that starts the Nprinting Engine) logs into the Extranet access point, OnDemand printing works fine.  Login to the Extranet access point with any other user, On-Demand printing does not work.  This is because the Nprinting Engine accesses the QVW with the service account, so it can't find bookmarks attributed to other users...no sharing of bookmarks due to Extranet licensing.

If you have a SMB, Enterprise Qlik server, not an Extranet server, you are able to check the box in the QMC to allow bookmark sharing...all Nprinting ON-demand features work perfectly in these environments...licensing allows the sharing of bookmarks.  Another proof is to un-check the box on a non-Extranet server and ON-Demand will fail, re-check the box it will work again.

So since its not a good idea to give everybody your Nprinting service account user/password to login to your Extranet server, we just have to wait to see if a bypass for Nprinting ON-demand is going to be allowed in the Extranet server.

View solution in original post

6 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

what NPrinting connection are you using? QVP?

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.
Ruggero_Piccoli
Support
Support

Check that the ports used by Qlik NPrinting are open Ports ‒ Qlik NPrinting.

Check also the logs, or post them if possible.

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 as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.



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.
rmueller
Contributor III
Contributor III
Author

All connections are made via QVP, whether they come from our inside server or the extranet server

rmueller
Contributor III
Contributor III
Author

Yep, all the correct ports are open.

Like I posted above , all the functionality works in the popup NPrinting control...except when the report is chosen to run it results in an Error...I am prompted for login, I can see reports, I can choose reports, I can look at previously processed reports (generated successfully from our inside server) and I can even delete completed reports...just can't get a successful report run when connecting to On-Demand via the extranet server.

I should also mention, all the qvw's are published to the root folder, not a mounted folder (mounted folders have their own issues altogether).

the only thing in the log file is this...

Qlik.NPrinting.Repo17.5.0.0Qlik.NPrinting.Repo.Plan.ReportFailurePlanNodeExecutor20171009T140836.220-05:00ERRORNPRINTINGMACHINE00000000000-0000-0000-0000-0000000000000272193c1-1d9c-4dc6-aa58-2e697699c2f900Failed report generation for report 272193c1-1d9c-4dc6-aa58-2e697699c2f9 user 4ca6270b-8129-4285-b38d-3135b7369f8d exception System.NotSupportedException: Wrong content node response type??   at Qlik.Reporting.Reports.Tree.Template.CycleNode`4.ApplyResponse(IContentNodeResponse response, TcTransformationContext transformationCtx)??   at Qlik.Printing.Trees.TcTransformation.ApplyResponse(IContentNodeResponse response)??   at Qlik.Printing.TreeTransformationService.Process(IReportRequest reportRequest, IContentNodeResponse contentNodeResponse) : STACK :    at Qlik.Reporting.Reports.Tree.Template.CycleNode`4.ApplyResponse(IContentNodeResponse response, TcTransformationContext transformationCtx)??   at Qlik.Printing.Trees.TcTransformation.ApplyResponse(IContentNodeResponse response)??   at Qlik.Printing.TreeTransformationService.Process(IReportRequest reportRequest, IContentNodeResponse contentNodeResponse)

ron

rmueller
Contributor III
Contributor III
Author

I'll answer my own question correctly...

Nprinting ON-demand printing doesn't necessarily "work" with an Extranet server, since it needs the ability to access shared bookmarks in the QVW.   Extranet licensing does not allow users to share bookmarks.

To prove this...If the service account user (the one that starts the Nprinting Engine) logs into the Extranet access point, OnDemand printing works fine.  Login to the Extranet access point with any other user, On-Demand printing does not work.  This is because the Nprinting Engine accesses the QVW with the service account, so it can't find bookmarks attributed to other users...no sharing of bookmarks due to Extranet licensing.

If you have a SMB, Enterprise Qlik server, not an Extranet server, you are able to check the box in the QMC to allow bookmark sharing...all Nprinting ON-demand features work perfectly in these environments...licensing allows the sharing of bookmarks.  Another proof is to un-check the box on a non-Extranet server and ON-Demand will fail, re-check the box it will work again.

So since its not a good idea to give everybody your Nprinting service account user/password to login to your Extranet server, we just have to wait to see if a bypass for Nprinting ON-demand is going to be allowed in the Extranet server.

kdmarkee
Specialist
Specialist

Just providing an additional update regarding using On Demand with an extranet server/Access Point.  At this time, the answer to the issue is making sure that the NP connection is set up to use "Connection requires authentication" where the "Identity" is your NPrinting service account user.  I've attached an image.np setting on demand with extranet solved.PNG