Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Save the Date: QlikWorld Online, June 24-25, 2020. Free global virtual event for data integration and data analytic gurus. Register Today
Highlighted
Contributor

PROBLEM IN DISTRIBUTION SERVICES

hi Expert ,

               we are facing problem in QlikView Reloading fail it gives following error.

(2015-07-23 02:45:02) Error: QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.FailedDocumentCheckoutException: Failed to check out document with path: E:\QV Dashboard\Sales - Ghari\SND-Sales.qvw

(2015-07-23 02:45:02) Error: at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

(2015-07-23 02:45:02) Error: --- End of inner exception stack trace ---

(2015-07-23 02:45:02) Error: at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

(2015-07-23 02:45:02) Error: at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

(2015-07-23 02:45:02) Error: --- End of inner exception stack trace ---

(2015-07-23 02:45:02) Error: at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

(2015-07-23 02:45:02) Error: at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)

Please Suggest asap.

12 Replies
Highlighted

Re: PROBLEM IN DISTRIBUTION SERVICES

Hi,

This is generic error it could come due to many reasons like.

1) Database unavailable at that instance

2) database is fully busy and it close connection

3) Antivirus may cause this.

To get specific error.

Open your Qlik App in desktop go to setting --> Document properties --> General tab --> Select generate log file.

Now schedule your task and share with us log file it generated.

You will find the same in below path.

C:\ProgramData\QlikTech\DistributionService\1\Log

Hope it helps.

Regards

ASHFAQ

Highlighted
Honored Contributor II

Re: PROBLEM IN DISTRIBUTION SERVICES

Hi ashfaq_haseeb

Good check list to troubleshoot the issue. Thank you for info.

Highlighted
Partner
Partner

Re: PROBLEM IN DISTRIBUTION SERVICES

Hi Vijay,

can you post the entire log file rather than just a section?

Andy

Highlighted
Contributor

Re: PROBLEM IN DISTRIBUTION SERVICES

(2015-07-23 02:45:00) Information: Starting task 'ReloadSNDSales'. Id:a57c860e-b3e7-4589-89ba-1c818ec524f4. Triggered by 'ScheduleTrigger'. Id:007958f8-9a7c-4b67-9111-c380ee3dc2e2

(2015-07-23 02:45:00) Information: Entering Task Execution.

(2015-07-23 02:45:00) Information: ClusterID=1

(2015-07-23 02:45:00) Information: QDSID=0f01ac39-e57a-e118-14c0-70f4d9aed3ab

(2015-07-23 02:45:00) Information: TaskID=a57c860e-b3e7-4589-89ba-1c818ec524f4

(2015-07-23 02:45:00) Information: MaxRunTime=1.00:00:00

(2015-07-23 02:45:00) Information: MachineName=QV

(2015-07-23 02:45:00) Information: Max attempts:1

(2015-07-23 02:45:00) Information: Current Attempt=0

(2015-07-23 02:45:00) Information: Task Dependencies are OK

(2015-07-23 02:45:00) Information: Document is marked to be Reloaded with fresh data. Initializing Reload for Distribution.

(2015-07-23 02:45:00) Information: Opening "E:\QV Dashboard\Sales - Ghari\SND-Sales.qvw"

(2015-07-23 02:45:00) Information: Allocating new QlikView Engine. Current usage count=7 of 9 (of type non-reader).

(2015-07-23 02:45:00) Information: Max retries:5

(2015-07-23 02:45:00) Information: Attempt:01

(2015-07-23 02:45:01) Information: Opened the QlikView Engine successfully. ProcessID=6452

(2015-07-23 02:45:01) Information: Allocated QlikView Engine successfully. Current usage count=8 of 9 (of type non-reader). Ticket number=3404.

(2015-07-23 02:45:01) Information: Loading document "E:\QV Dashboard\Sales - Ghari\SND-Sales.qvw" (163.36 Mb)

(2015-07-23 02:45:01) Error: Document open call failed. The document might require username and password.

(2015-07-23 02:45:01) Information: Attempted to load the document without data.

(2015-07-23 02:45:01) Error: The document failed to open.

(2015-07-23 02:45:02) Information: Closed the QlikView Engine successfully. ProcessID=6452

(2015-07-23 02:45:02) Error: Document could not be opened

(2015-07-23 02:45:02) Information: Closed the QlikView Engine successfully. ProcessID=6452

(2015-07-23 02:45:02) Information: Failed to check in document: E:\QV Dashboard\Sales - Ghari\SND-Sales.qvw

(2015-07-23 02:45:02) Error: The task "ReloadSNDSales" failed. Exception:

(2015-07-23 02:45:02) Error: QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.FailedDocumentCheckoutException: Failed to check out document with path: E:\QV Dashboard\Sales - Ghari\SND-Sales.qvw

(2015-07-23 02:45:02) Error: at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

(2015-07-23 02:45:02) Error: --- End of inner exception stack trace ---

(2015-07-23 02:45:02) Error: at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

(2015-07-23 02:45:02) Error: at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

(2015-07-23 02:45:02) Error: --- End of inner exception stack trace ---

(2015-07-23 02:45:02) Error: at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

(2015-07-23 02:45:02) Error: at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)

(2015-07-23 02:45:02) Information: Task Execute Duration=00:00:01.9701970

(2015-07-23 02:45:02) Information: Sending Alert mail

(2015-07-23 02:45:04) Information: TaskResult.status=Finished

(2015-07-23 02:45:04) Information: Notifying all triggers of new state:FinishedWithErrors

(2015-07-23 02:45:04) Information: Notifying all triggers of new state:FinishedWithErrors - completed

(2015-07-23 02:45:04) Information: Saving Task Result

Highlighted

Re: PROBLEM IN DISTRIBUTION SERVICES

Hi,

Do you have section access?

Regards

ASHFAQ

Highlighted
Contributor

Re: PROBLEM IN DISTRIBUTION SERVICES

Yes Ashfaq we have use section access

Highlighted

Re: PROBLEM IN DISTRIBUTION SERVICES

Two things here.

1) Make sure your service account is a part of your Section access admin group.

2) Go to Distribution service in you QMC go to advance tab and provide section access admin credentials.

Let me know if that worked.

Regards

ASHFAQ

Highlighted
Partner
Partner

Re: PROBLEM IN DISTRIBUTION SERVICES

The issue is most likely the line:

01) Error: Document open call failed. The document might require username and password.

If the qvw has section access, then ensure the user running the QV services is added as ADMIN to your SA load, reload via QV Desktop, save and reload from QMC.

Andy

Highlighted
Contributor

Re: PROBLEM IN DISTRIBUTION SERVICES

Dear Ashfaq & Andrew

                                  but thease types of issues occoure once or twice in a week.