Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

durgesh25
New Contributor

What Could be the error and how can it be resolved?

(2015-01-03 04:48:29) Error: The Source Document was NOT reloaded successfully. DocumentPath=D:\Qlikview\Stage1\Sales\QVD Makers\Stage1_test.qvw.

(2015-01-03 04:48:29) Information: Closing the document.

(2015-01-03 04:48:29) Information: Closed the QlikView Engine successfully. ProcessID=58612

(2015-01-03 04:48:29) Error: The task "Stage1_test.qvw" failed. Exception:

(2015-01-03 04:48:29) Error: QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.LogBucketErrorException: The Source Document was NOT reloaded successfully. DocumentPath=D:\Qlikview\Stage1\Sales\QVD Makers\Stage1_test.qvw.

(2015-01-03 04:48:29) Error:    at QDSMain.ReloadTask.VerifyConditions(TaskResult taskResult)

(2015-01-03 04:48:29) Error:    at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

(2015-01-03 04:48:29) Error:    --- End of inner exception stack trace ---

(2015-01-03 04:48:29) Error:    at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

(2015-01-03 04:48:29) Error:    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

(2015-01-03 04:48:29) Error:    --- End of inner exception stack trace ---

(2015-01-03 04:48:29) Error:    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

(2015-01-03 04:48:29) Error:    at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)

7 Replies

Re: What Could be the error and how can it be resolved?

Could you share the document log file.

Re: What Could be the error and how can it be resolved?

The error "reload failed" shows the error was during the reload not the distribution. You will need to enable the document log and review that log to see the cause.

Settings / Document Properties / Generate logfile

durgesh25
New Contributor

Re: What Could be the error and how can it be resolved?

1/4/2015 8:30:55 AM Error The Source Document was NOT reloaded successfully. DocumentPath=D:\Qlikview\Stage2\Sales\QVD Makers\Stage2_Item.qvw.

1/4/2015 8:30:56 AM Error The task "Stage2_Item.qvw" failed. Exception: QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.LogBucketErrorException: The Source Document was NOT reloaded successfully. DocumentPath=D:\Qlikview\Stage2\Sales_EAP\QVD Makers\Stage2_Item_EAP.qvw. at QDSMain.ReloadTask.VerifyConditions(TaskResult taskResult) 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)

durgesh25
New Contributor

Re: What Could be the error and how can it be resolved?

log file generates usually but since it failed while opening so there was no log file generated.


Below log file was sent through publisher mail alerts.

kindly help what could be the reason for this type of failure.????????????



The task "Stage2_Wholesale.qvw" failed. Part of the log file follows:

1/4/2015 4:56:21 AM Error Document open call failed. The document might require username and password.

1/4/2015 4:56:21 AM Error The document failed to open.

1/4/2015 4:56:21 AM Error Document could not be opened

1/4/2015 4:56:21 AM Error The task "Stage2_Wholesale.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: D:\Qlikview\Stage2\Sales\QVD Makers\Stage2_Wholesale.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)

Not applicable

Re: What Could be the error and how can it be resolved?

using qlik desktop are able to reload Stage1_test.qvw from the user that initiated the qv server services?, I think some authorization is failing. I usually install PE in the server to clear this server side permissions. On another note, the user that started QV Server Services hasn't changed its password or something?

Re: What Could be the error and how can it be resolved?

Does your document use section access?

If yes, you need to include the QDS service account as an admin user with full access tonally data in section access.

syukyo_zhu
Contributor III

Re: What Could be the error and how can it be resolved?

Hi

you are sur Stage2_Wholesale.qvw in the folder D:\Qlikview\Stage2\Sales\QVD Makers\?

Community Browser