We have an issue where some of our QMC tasks get struck when saving. The reload finishes successfully but gets struck when saving and the task doesn't complete. It has to be manually aborted and when restarted it runs without issues.
Below is the error we gets in the Logs
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.
If anybody has faced the issue, feel free to provide more info.
Hi, usually document log, wich is enabled opening the document with desktop version, checking the option in document properties -> Genreal -> Generate log file, gives more information about the steps of the reload.
In any case the issue looks related to the save step, maybe the account that runs QV services doesn't have write access to the document. You can check this login as this user and trying to edit the file or just executing a manual reload from desktop and try to save.
Other options can be lack of resources, blocked by antivirus software, conflicts whit other process...
Just wanted to follow up here as I have experienced this same issue again recently. The issue was resolved by increasing the Windows Desktop Memory Heap as outlined in the Qlik Support article "How many reload engines (QVB) to allow in an environment" under the Windows limitation heading. So this is something you would definitely want to consider if the other suggestions didn't work for you.