Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Jesh19
Creator II
Creator II

Error in QMC for PDF distribution

Hi All,

We're having 52 pdf reports that are being delivered to users everyday.

For one of the reports, we're getting the below error. we don't have any issue with the other reports.

Could someone please help in solving the issue.

Error: Failed to generate files.
Filename=C:\ProgramData\QlikTech\DistributionService\1\temp\0d535ed9-a0e9-4dd4-805f-e938dec7abfe\a1e257fc758e471bb412f84d94d7816d.pdf.
Exception=System.IO.IOException:
The process cannot access the file 'C:\ProgramData\QlikTech\DistributionService\1\temp\0d535ed9-a0e9-4dd4-805f-e938dec7abfe\a1e257fc758e471bb412f84d94d7816d.pdf'
because it is being used by another process. ||
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) || at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access,
Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) ||
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) ||
at QVBWrapper.DocumentPackage.AddFile(String i_PathToFile, String i_StoreAsFileName) || at QVBWrapper.Document.GeneratePdfFile(ILogBucket logBucket, String reportId)

 

Thanking in Advance.

 

Regards,

Jesh

3 Replies
shiveshsingh
Master
Master

Try after force closing the qv.exe through task manager

 

Jesh19
Creator II
Creator II
Author

Hi Shivesh,

Thanks for your response.

But, this is not working.

Regards,

Jesh

shiveshsingh
Master
Master