Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error during automatic load - Error: QDSMain.Exceptions.DistributionFailedException

Hello all,

I will be glad if you are able to figure out the problem I have during the load of my document. The error is the following:

(2016-04-10 12:18:17) Information: Reloading

(2016-04-10 12:30:10) Warning: The QlikView Engine is Reloading, it will be killed (Please ignore logged warnings/errors about the kill).

(2016-04-10 12:30:10) Information: Killing the QlikView Engine. ProcessID=15412

(2016-04-10 12:30:10) Information: Reload was aborted.

(2016-04-10 12:30:15) Information: Closed the QlikView Engine successfully. ProcessID=15412

(2016-04-10 12:30:15) Error: The task "SISREP_statistiky2015+.qvw" failed. Exception:

(2016-04-10 12:30:15) Error: QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> System.Threading.ThreadAbortException: Thread was being aborted.

(2016-04-10 12:30:15) Error: at System.Threading.WaitHandle.WaitOneNative(SafeHandle waitableSafeHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)

(2016-04-10 12:30:15) Error: at System.Threading.WaitHandle.InternalWaitOne(SafeHandle waitableSafeHandle, Int64 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)

(2016-04-10 12:30:15) Error: at SolutionGlobal.ThreadPool.ThreadPoolJob.SafeWaitEvent(WaitHandle eventWaitHandle)

(2016-04-10 12:30:15) Error: at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

(2016-04-10 12:30:15) Error: --- End of inner exception stack trace ---

(2016-04-10 12:30:15) Error: at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

(2016-04-10 12:30:15) Error: at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

(2016-04-10 12:30:15) Error: --- End of inner exception stack trace ---

(2016-04-10 12:30:15) Error: at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

(2016-04-10 12:30:15) Error: at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)

(2016-04-10 12:30:15) Error: Task failed with exception

(2016-04-10 12:30:15) Error: Exception=The currently executing operation was aborted.

(2016-04-10 12:30:15) Information: TaskResult.status=Finished

(2016-04-10 12:30:15) Information: Notifying all triggers of new state:FinishedWithErrors

(2016-04-10 12:30:15) Information: Notifying all triggers of new state:FinishedWithErrors - completed

(2016-04-10 12:30:15) Information: Saving Task Result

The task always ends with the Failed status and dont know why...


Thank you in advanced for your help.

Regards,

Thomas

2 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Apparently, your task is exceeding the allowed time to reload. QDS will then kill the reload engine. How long does this task run? And what value did you configure for Timeout in seconds (no publisher) or Timeout in minutes (with publisher)?

Peter

Not applicable
Author

Hello Peter,

thank you for your reply. I am not actually at my pc and suppose I will be there in Wednesday. I will let you know which values are set and if the problem was occured again after reconfiguration.

Regards,

Thomas