Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a Qlik Sense deployment with an Nprinting server, and some tasks that stores reports to destination folders,
It works well to store Nprinting reports into
\\qliksenseserver\Share\Nprinting,
which confirms that the Nprinting service account can write to shared network folders.
However, I'm now trying to store reports into a Sharepoint document folder. I can myself access the sharepoint folder in windows explorer by using a path like:
\\sharepoint-server\sites\k00000123\SharedDocuments\Nprinting
I'm the owner of the sharepoint site and I've added the Nprinting domain account as contributor to the sharepoint site.
I'm still getting
Error trying to save report in folder '\\sharepoint-server\sites\k00000123\SharedDocuments\Nprinting'. ERROR: Access to the path '\\sharepoint-server\sites\k00000123\SharedDocuments\Nprinting' is denied.
when I'm running the Nprinting task.
Any ideas?
Unfortunately it does not, must be SMB and no authentication prompts of course.
Can you please:
It is likely that path prompts for authentication which cannot be done automatically unless it is a path in the same domain .
cheers
The service account is not enabled for desktop user sessions per default.
I also have to book an appointment with IT to do anything that involves the password (it is a pretty restricted environment).
But maybe that is the next step to evaluate, even if it is a bit cumbersome. I would have done it already if I had personal access to the password of the user account.
One workaround which I did in one of my old customer, is that you can mount one drive folder on that server then you will get that folder as normal folder on your server then you can use that path in your nprinting output.
Can you write your reports to a local folder, then copy them via an automated task in Windows?
It works well to store Nprinting reports into
\\qliksenseserver\Share\Nprinting,
Yes likely because the NP server is in the same domain as the Qlik Sense server.
This is the required supported scenario.
Assuming that the sharepoint server is not in the same domain, it will likely not work since passthrough auth is not going to happen and you will get 'access denied' as expected.
See Requirements for details.
Kind regards...
Now I've had a meeting with IT and logged in with the nprinting service account as desktop user.
We managed to successfully create files as the service account in the folder \\sharepoint-server\sites\k00000123\SharedDocuments\Nprinting
However we had to type in the windows account name and password (same account we were already logged in with)
So Windows SSO is somehow not working in this case.
Is this the likely reason for why nprinting is unable to write files?
Hi @qliktime ,
Yes - of course... if SSO is not working then automated process will not be able to save files to that location using that account as it will not have access.
cheers
I talked some more to IT and realized there are some more nuances to this.
Accessing sharepoint site content using double backslash paths is likely not pure SMB. It is probably utilizing webdav.
This makes my question more precise: does Nprinting support WebDav authentication for folder destinations?
Unfortunately it does not, must be SMB and no authentication prompts of course.