Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
aarkay29
Specialist
Specialist

QMC Distribution Failure

Hi All,

The QVW runs fine on the desktop but fails when run through QMC and getting this error. Any ideas??

There is no section access or loop reduce on the document.

The document has execute statement which runs fine on QV desktop on Server Machine.

2017 9:53:04 PM) Error: Could not run ReduceData. Exception=System.IO.IOException: The process cannot access the file 'C:\ProgramData\QlikTech\DistributionService\1\temp\f159fbef-5970-4c17-849b-de4615d05ce6\document.qvw' because it is being used by another process. || at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) || at System.IO.File.InternalDelete(String path, Boolean checkHost) || at SolutionGlobal.FileSystem.FileSupport.DeleteFile(String fileName, Nullable`1 tryFor, Nullable`1 sleepDuration) || at QVBWrapper.Document.Save(ILogBucket logBucket, String savePath, Boolean checkoutSavedDocument) || at QVBWrapper.Document.ReduceData(ILogBucket logBucket, Boolean reduce, String savePath, Boolean checkoutReducedDocument, Boolean save)

(9/25/2017 9:53:04 PM) Error: Failed to generate QVW files.. Exception=System.ArgumentException: Empty path name is not legal. || 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.GetStream(ILogBucket i_LogBucket, eDocumentType i_DocumentType, String i_URL, Boolean i_ShowToolBar, String i_ReportID)

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

You're running SR4, which is the release in which another problem with Loop&Reduce (not used by you) and an "Empty path name is not legal" was fixed.

You may want to contact Qlik Support with this (new) issue.

View solution in original post

4 Replies
YoussefBelloum
Champion
Champion

Hi,

when the error code is: Exception=System.ArgumentException: Empty path name is not legal:

on some issues on the community, they are talking about a Bug on certain releases or when there is selection enforced.

hope it helps

Regards,

YB

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Therefor the next question is this: which version of QlikView Server are you running?

aarkay29
Specialist
Specialist
Author

Hi Peter,

its

QV 12.10.20200.0

Peter_Cammaert
Partner - Champion III
Partner - Champion III

You're running SR4, which is the release in which another problem with Loop&Reduce (not used by you) and an "Empty path name is not legal" was fixed.

You may want to contact Qlik Support with this (new) issue.