Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
SweJoCa
Partner - Contributor III
Partner - Contributor III

QMC suddenly getting errors when saving, so failing the task

Hi guys, 
This is QlikView September 2025 SR1. 
A task is suddenly giving off an error while running it. 
Here is the error message from the log - as you can see it's running approx 12-15 mins and then throwing the error at the end. Someone able to help/point in the right direction? 
The task is a reload and distribute and has Section Access to it if it is of any importance. 

(2026-03-05 14:35:01) Information: The Source Document reload complete. DocumentPath=d:\QV\Production\Cobra\App\Cobra Analysis Transactions.qvw

(2026-03-05 14:35:01) Information: Memory Allocation Delta for this file=15806.49 Mb. Available Physical Memory Before Reload=120039.21 Mb. Available Physical Memory After Reload=103668.15 Mb.

(2026-03-05 14:35:01) Information: The Source Document was reloaded successfully.

(2026-03-05 14:35:01) Information: QlikView->Settings->Document Peferences->Generate Logfile in document is set. Enabling Log Copier.

(2026-03-05 14:35:01) Information: Looking for the document log "d:\QV\Production\Cobra\App\Cobra Analysis Transactions.qvw" to become available.

(2026-03-05 14:35:01) Information: Found a document log. FileName=d:\QV\Production\Cobra\App\Cobra Analysis Transactions.qvw.log

(2026-03-05 14:35:01) Information: Writing documentLog to C:\ProgramData\QlikTech\DistributionService\1\Log\20260305\142011 - 3a Reload and Distribute Cobra Analysis Transactions\DocumentLog.txt

(2026-03-05 14:35:01) Information: Reload finished successfully

(2026-03-05 14:35:01) Information: Start saving document

(2026-03-05 14:35:35) Error: The sourcedocument failed to save.. Exception=System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. || at QlikView.Doc.SaveAs(String _FileName, Int16 _Format) || at QVBWrapper.Document.Save(ILogBucket i_LogBucket, String i_SaveAsFileName)

(2026-03-05 14:35:36) Information: Closing the document.

(2026-03-05 14:35:39) Information: Closed the QlikView Engine successfully. ProcessID=532792

(2026-03-05 14:35:39) Error: The task "3a Reload and Distribute Cobra Analysis Transactions" failed. Exception: || QDSMain.Exceptions.TaskFailedException: Task execution failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.LogBucketErrorException: The sourcedocument failed to save.. Exception=System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. || at QlikView.Doc.SaveAs(String _FileName, Int16 _Format) || at QVBWrapper.Document.Save(ILogBucket i_LogBucket, String i_SaveAsFileName) || at QDSMain.AbstractReloadTask.Reload(String fileName, IExecutingTaskResult executingTaskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage) || --- End of inner exception stack trace --- || at QDSMain.AbstractReloadTask.Reload(String fileName, IExecutingTaskResult executingTaskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage) || at QDSMain.DistributeTask.PerformExecute(IExecutingTaskResult executingTaskResult) || --- End of inner exception stack trace --- || at QDSMain.DistributeTask.PerformExecute(IExecutingTaskResult executingTaskResult) || at QDSMain.Task.AbstractTask.TaskExecution(CurrentExecutionArgs args)

(2026-03-05 14:35:39) Information: Task Execute Duration=00:15:27.5801516

(2026-03-05 14:35:39) Information: Sending Alert mail

(2026-03-05 14:35:39) Information: TaskResult.status=Finished

(2026-03-05 14:35:39) Information: Notifying all triggers of new state: "FinishedWithErrors"...

(2026-03-05 14:35:39) Information: Notifying all triggers of new state: "FinishedWithErrors" - Completed

Labels (1)
1 Solution

Accepted Solutions
SweJoCa
Partner - Contributor III
Partner - Contributor III
Author

I finally took a look at the memory usage. 
It seems that there was too little remaining memory on the hard drive (c:). 
A bit strange, but I did delete some huge temp-files that were long-overdue for scrapping. So instead of 10 GB remaining I now have 19 GB remaining. 
That solved this problem. 

 

View solution in original post

3 Replies
SweJoCa
Partner - Contributor III
Partner - Contributor III
Author

Adding a comment to this: 
I can run this task manually in the server with the service account. 
Cheers
Jörgen

marcus_sommer
MVP
MVP

The log mentioned two errors whereby the more present save-failure might be only a following error to the reload-failure which might be caused by any NULL: QlikView Task Failed To Reload "System.Runtime.Int... - Qlik Community - 1710834.

I think I would copy the task and removing/disabling the section access to see what happens now by executing them.

SweJoCa
Partner - Contributor III
Partner - Contributor III
Author

I finally took a look at the memory usage. 
It seems that there was too little remaining memory on the hard drive (c:). 
A bit strange, but I did delete some huge temp-files that were long-overdue for scrapping. So instead of 10 GB remaining I now have 19 GB remaining. 
That solved this problem.