Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
QMC Tasks are failing with below error. If I ran the task manually it is running fine.
3/5/2015 3:15:42 AM Error The Source Document was NOT reloaded successfully. DocumentPath=\\TUS1QKVPUBVIP01\Qlikview\Qlkview Source Documents\VCC Load\VRQ Dashboard\Generator\VRQ Generator.qvw.
3/5/2015 3:15:43 AM Error The task "VRQ Generator - Incremental Load" 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=\\TUS1QKVPUBVIP01\Qlikview\Qlkview Source Documents\VCC Load\VRQ Dashboard\Generator\VRQ Generator.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)
I tried to restart the Distribution Service and tried but no luck.
Thanks in advance
Regards
Krishnapriya Arumugam
Hi Krishnapriya, can you check if the credentials running the Qv services has permission to write in the path used by VRQ Generator.qvw?, also in "\\TUS1QKVPUBVIP01\Qlikview\Qlkview Source Documents\VCC Load\VRQ Dashboard\Generator\" to save the document after reload.
Hi Ruben,
I have verified the permission for the account. it has full control to that folder.
Is the service account running the QDS (Distribution Service) included with ADMIN role in your section access table? If not, add the service account and try again.
You can also enable Generate Log file on the source qvw file (Open in Desktop and Document Setting).
Then there will be a DocumentLog created (named the same as the qvw with the extension log).
That might give you the answer.
The line in the QDS log
Error The Source Document was NOT reloaded successfully.
shows the failure was during the reload not during the distribution. Therefore you need to enable the document log in the QVW Document Properties to be able to identify the cause of the reload failure.
I usually see this error when the task is trying to read or write a locked file. The file can be locked because
1. The task is trying to write to a QVD that is being read by another task
2. The task is trying to read a QVD that is being refreshed
3. Someone has the file opened
Once you get a Document log, it will tell you which file the task is failing on.
Hi All,
Thanks a lot for all your suggestions.
I have already enabled generate Log option. If i log into Service account and run the task manually or hit the QMC task it is running fine without any issue.
Hi,
The above task is failing randomly. Can anybody help in fixing the issue? Is this due to SAN issue or any othe network issue?
Regards
Krishanpriya
Hi, and what's the message in the document reload log when the task fails?
I meant the document log, the one wich shows lines of script (not the task log)