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: 
korn_th1
Contributor II
Contributor II

nPrinting outputs cannot overwrite existing file

I create file report outputs to network drive folders (Distinatoin Folder \\xxx.xxx.xxx.xxx\drivename) by In the past it was normal can overwrite

But now it cannot overwrite and "Task executions" show message "WARN: Impossible to save report in folder "\\xxx.xxx.xxx.xxx\drivename\". ERROR: The request is not supported."

but astounding it can write new file if insert prefix/Suffix as yyyymmdd in file name or delete existing file
I sure that full autherize read/write for user run Qlik nPrinting scheduler Service

How to solved can overwrite existing file like before and what is the cause?

thank you

Labels (2)
8 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

It is possible that file cannot be overwritten if it is opened by another user. 

Cheers

Lech

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.
korn_th1
Contributor II
Contributor II
Author

Thank you very much for your reply 


I'm sure that not another user open file. Because output report time different with user use time
and before this there was never a problem. Just had a problem 2-3 days ago. 😥

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

So the question is:

  • is this happening now each time you try to generate report
  • or did it just happened occasionally in the past and now it works again.

There is nothing on NPrinting side other than ensuring full access for NPritning service account you can do. If you have done that and NPrinting was unable to store file in the past there must be other external reasons blocking it from storing it again and those are:

  • file was opened by some other user (it could have been left open by someone and left opened)
  • the permissions for the service account were not working at the time.

regards

Lech

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.
korn_th1
Contributor II
Contributor II
Author

It happened occasionally in the past but now it every time every export file task
The service account is full permission for distination folder
because I test login Nprinting server by this account and can read/write/overwtire file in distination folder from File Explorer

Today I found some reports that created using "Enably Cycle" are part of the filename it can Overwrite existing file! but generate filename by Report Name/Custom Name it cannot

I am confused by this issue 😕

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

I would suggest to look at windows logs from the time when report was generated to see if there is anything there as well.

One more thing you may need to look at is if your custom file name meets all requirements for file names lenght and characters used within the file name. Often we forget that characters like below are not allowed in file names. Make sure you dont use those. 

  • # pound
  • % percent
  • & ampersand
  • { left curly bracket
  • } right curly bracket
  • \ back slash
  • < left angle bracket
  • > right angle bracket
  • * asterisk
  • ? question mark
  • / forward slash
  • blank spaces
  • $ dollar sign
  • ! exclamation point
  • ' single quotes
  • " double quotes
  • : colon
  • @ at sign
  • + plus sign
  • ` backtick
  • | pipe
  • = equal sign
  • emojis
  • alt codes

Given that you are trying to overwrite existing file I am assuming it may not be a case but I think it is also worth mentioning. 

As mentioned before - there is no NPrinting setting you need to change apart from things mentioned. 

cheers

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.
korn_th1
Contributor II
Contributor II
Author

Thank you very much for the advice.
I'll try looking for windows logs

and I'm wondering if it's related to antivirus or not.

JonnyPoole
Employee
Employee

I was wondering if you have any folder replication service on the target folder?  Do you auto sync to OneDrive? S3?  I agree a file lock would explain things. 

korn_th1
Contributor II
Contributor II
Author

i'm not syc one drive,

This problem has not yet been completely resolved.
But I solved the basic problem by deleting the file in destination folder before exporting
or put suffix _yyyymmdd in filename

😔