4 Replies Latest reply: Sep 29, 2017 5:06 AM by Peter Cammaert RSS

    QMC Distribution Failure

    Aar Kay

      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)