2 Replies Latest reply: Oct 14, 2014 1:50 AM by Sandeep Prasad RSS

    QDSMain.Exceptions.DistributionFailedException

    Sandeep Prasad

      Hello Experts,

       

      Can i know why is this error happening on some of the reports

       

      QDSMain.Exceptions.DistributionFailedException

       

      All the directory services are up and running ,but i am facing this issue .

       

      Below is the log file from the server

       

      Error: QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.ThreadPoolJobStillRunningException: Aborting reload. Error: QDSMain.TaskResult

      (2014-10-14 03:39:28) Error: at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

      (2014-10-14 03:39:28) Error: --- End of inner exception stack trace ---

      (2014-10-14 03:39:28) Error: at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

      (2014-10-14 03:39:28) Error: at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

      (2014-10-14 03:39:28) Error: --- End of inner exception stack trace ---

      (2014-10-14 03:39:28) Error: at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

      (2014-10-14 03:39:28) Error: at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)

      (2014-10-14 03:39:28) Information: Task Execute Duration=00:21:36.5160000

       

       

      Note:--There is no section access for this application

       

      Your inputs are highly appreciated:-)

      Thanks in advance

       

      Sandeep.

        • Re: QDSMain.Exceptions.DistributionFailedException
          Ashfaq Mohammed

          Hi,

           

          It could be because of many different things.

          1) Performance

          2) May be there was another task using the same files

          3) Antivirus scanning those very files (make exceptions in your AV program).

          4) some inconsistencies in that directory.

          It is fine to stop the QDS service, remove/backup the content of C:\ProgramData\QlikTech\DistributionService\ and start QDS again. The folder content will be automatically recreated and any temporary files would be cleared. The directory holds temp files, reference files for the repository and log-files. No task settings would be lost, only task history.

           

          Let me know if that worked.

           

          Regards

          ASHFAQ