Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
scott_brown
Contributor III
Contributor III

QVS Distribution failed to distribute to QVS

My document is successfully reloaded, but occasionally will fail to distribute. When I run the task again in the QMC a second time after it fails, it will reload and distribute with no issues. I do have another document that reloads at the same time, accessing the same QVD's, which is the only thing i can think of that could be causing an issue. Anyone experience anything similar?

(2017-06-14 07:23:03) Error: The QlikView Server returned a error

(2017-06-14 07:23:03) Information: Performance data (CopyFile): Connecting to QVS. (0), DMSAccessRules=3 (0), Uploading file: Store Operations/District Style Sales.qvw (0), Write complete. (3297646592 bytes processed) (78798)

(2017-06-14 07:23:03) Error: QVS Distribution failed to distribute to QVS

(2017-06-14 07:23:03) Error: Distribution to resources failed with errors. Warnings: 0, Errors: 2

(2017-06-14 07:23:03) Information: Deleting temporary files.

(2017-06-14 07:23:03) Information: Closing the document.

(2017-06-14 07:23:04) Information: Closed the QlikView Engine successfully. ProcessID=3040

(2017-06-14 07:23:04) Error: The task "District Style Sales" failed. Exception: || QDSMain.Exceptions.TaskFailedException: Task execution failed with errors to follow. ---> QDSMain.Exceptions.LogBucketErrorException: Distribution to resources failed with errors. Warnings: 0, Errors: 2 || at QDSMain.DistributeTask.RevertOneAndAlwaysOne(Document qvbDocument) || at QDSMain.DistributeTask.ReleaseQvb(Document qvbDocument) || at QDSMain.DistributeTask.Distribution(String fileName, DistributionRequest distributionRequest, TaskResult taskResult, String repeatVariableName, String currentRepeatVariableValue) || 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)

(2017-06-14 07:23:04) Information: Task Execute Duration=00:30:14.8826087

(2017-06-14 07:23:04) Information: Sending Alert mail

(2017-06-14 07:23:04) Information: TaskResult.status=Finished

(2017-06-14 07:23:04) Information: Notifying all triggers of new state:FinishedWithErrors

(2017-06-14 07:23:04) Information: Notifying all triggers of new state:FinishedWithErrors - completed

(2017-06-14 07:23:04) Information: Saving Task Result

UPDATE: Shortly after posting this question the issue seemed to resolve itself, but has occurred again effecting multiple documents. They all had the same error message, failing during the distribution, but slightly different message than the first time.

<LogFinalEntry Text="The task "Add On Sales" failed. Exception: QDSMain.Exceptions.TaskFailedException: Task execution failed with errors to follow. ---> QDSMain.Exceptions.DistributeToResourcesFailedException: Distribute to resource failed. ---> System.Exception: l_FileSystemPluginHelper exception ---> QDSMain.Exceptions.DscOffLineException: Failed to AddNamedUsers at QDSMain.Support.DSCHelper.AddNamedUsers(ILogBucket logBucket, XmlDocument xml, List`1 namedUsers, FileSystemPluginHelper fileSystemPluginHelper) at QDSMain.Support.DSCHelper.GetFileSystemSecurity(ILogBucket logBucket, FileSystemPluginHelper fileSystemPluginHelper, List`1 recipients) at QDSMain.QlikViewServerDistributionResource.CreateSettingsBlock(ILogBucket i_LogBucket, FileSystemPluginHelper i_FileSystemPluginHelper, String i_SourceDocumentName, DateTime i_LastUpdate, DateTime i_NextUpdate, Boolean i_EventDriven, String i_Category, eDistributionFileType i_TotalDistributionFileTypeMask, FilePackageContainer i_FilePackageContainer) at QDSMain.QlikViewServerDistributionResource.Distribute(ILogBucket i_LogBucket, DistributionRequest i_DistributionRequest) --- End of inner exception stack trace --- at QDSMain.QlikViewServerDistributionResource.Distribute(ILogBucket i_LogBucket, DistributionRequest i_DistributionRequest) at QDSMain.DistributeTask.DistributeStreamToResources(Int32 round, Distribution distribution, IEnumerable`1 distributionResources) --- End of inner exception stack trace --- at QDSMain.DistributeTask.DistributeStreamToResources(Int32 round, Distribution distribution, IEnumerable`1 distributionResources) at QDSMain.DistributeTask.DistributionExecution(String fileName, Document qvbDocument, DistributionRequest distributionRequest, TaskResult taskResult, String repeatVariableName, String currentRepeatVariableValue) at QDSMain.DistributeTask.Distribution(String fileName, DistributionRequest distributionRequest, TaskResult taskResult, String repeatVariableName, String currentRepeatVariableValue) 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)" Date="2/13/2018 10:23:30 AM" Type="Error"/>

12 Replies
nikhil050409
Contributor
Contributor

Hello Scott,

I have deleted the qvw in published folder and reran the publish task again. It resolved the issue.

Thanks,

Nikhil

cbaqir
Specialist II
Specialist II

any resolution?

sbethalam
Contributor
Contributor

Hi There,

Make sure you enable the "Allow Document Upload" under System > Setup > Qlikview Server > Documents  and click apply. 

This enabling option will resolve this issue, please keep us posted.

Thank you

Srinath