Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Try after force closing the qv.exe through task manager
Hi Shivesh,
Thanks for your response.
But, this is not working.
Regards,
Jesh