Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
vtatarnikov
Creator
Creator

task status in QMC "failed" after the successful completion of the script

In the script logs all is well, but the status of the task "failed". Why is it?

4 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Your question is a bit thin on details. Can you post the logs themselves? If the document log contains no errors, do not forget to post the TaskLog as well. Thanks.

Not applicable

Agreed with Peter, you'll need to provide more detail, if the script finished successfully it points to some error to end the task, unable to distribute, save, file locking etc etc

The task log would help determine the cause

Not applicable

Would suggest you check logs properly.

If the task is failing.

logs should have something.

Its not possible of task failing and logs did not mentioning about any fail reason.

Thanks

S Shrivas

vtatarnikov
Creator
Creator
Author

Thanks, did not know about TaskLog. That's what the TaskLog:


16.12.2014 04:45:42.7382680    Error    Failed to allocate a QlikView Engine.

16.12.2014 04:45:42.8007680    Error    No QlikView Engine was available after waiting for 45 minutes

16.12.2014 04:45:43.5507680    Information    Failed to check in document: \\DELTA\QLIKVIEW\LOAD SCRIPTS\MakeQVD_Kredit.qvw

16.12.2014 04:45:48.3320180    Error    The task "qlikview-load/MakeQVD_Kredit.qvw" failed. Exception:

QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.FailedDocumentCheckoutException: Failed to check out document with path: \\DELTA\QLIKVIEW\LOAD SCRIPTS\MakeQVD_Kredit.qvw

   at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

   --- End of inner exception stack trace ---

   at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

   at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

   --- End of inner exception stack trace ---

   at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

   at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)

16.12.2014 04:45:49.7851430    Information    Task Execute Duration=00:45:32.7031250

16.12.2014 04:45:49.7851430    Information    Sending Alert mail

16.12.2014 04:45:54.7382680    Information    TaskResult.status=Finished

16.12.2014 04:45:55.3632680    Information    Notifying all triggers of new state:FinishedWithErrors

16.12.2014 04:45:55.3632680    Information    Notifying all triggers of new state:FinishedWithErrors - completed

16.12.2014 04:45:55.3632680    Information    Saving Task Result

seems to have found the answer Error while reloading the QlikView from publisher