I'm facing an issue and I can't understand how to solve it. I have migrated my QV server from version 11.2 SR9 to version 12.1 SR2.
Everything seems to be ok, my tasks works fine but I've two tasks going in error.
The problem is the same:
I have two documents I can reload without problem from desktop and from server. If I try to apply loop and reduce this tasks generates this error:
14/02/2017 10:47:41 Error Could not run ReduceData. Exception=QVBWrapper.Exceptions.ReduceAndSaveFailedException: Failed to reduce and save document: C:\ProgramData\QlikTech\DistributionService\2\temp\0dcae466-c560-43d8-95e7-710508981bbe\document.qvw ---> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component. at QlikView.Doc.ReduceAndSaveAs(String _FileName, String _BookmarkIdOrName, Object _DropFieldNames_ArrayOfString) at QVBWrapper.Document.ReduceAndSave(ILogBucket logBucket, String savePath, Boolean checkoutReducedDocument)
--- End of inner exception stack trace ---
at QVBWrapper.Document.ReduceAndSave(ILogBucket logBucket, String savePath, Boolean checkoutReducedDocument)
at QVBWrapper.Document.ReduceData(ILogBucket logBucket, Boolean reduce, String savePath, Boolean checkoutReducedDocument, Boolean save)
14/02/2017 10:47:41 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, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at QVBWrapper.Document.GetStream(ILogBucket i_LogBucket, eDocumentType i_DocumentType, String i_URL, Boolean i_ShowToolBar, String i_ReportID)
14/02/2017 10:47:46 Error Failed to generate QVW File package..Exception=QDSMain.Exceptions.NoDocumentPackageFoundException: No Document Package found.
I have two servers: test and production. Test was the copy of production and I migrated it to the version 12.1, while production still is on the 11.2. On this one i have no problem and the task works pefectlly.
Can somebody help me, please?