Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Error QDSMain.Exceptions.DistributionFailedException

Hello

The thing is when i go to the console in the task looking for users they dont apppear Smiley Sad

Active directory and local are ok

It could be the service?

Any help plss

----

One error

10/14/2012 6:30:18 AM    Error    . Exception:

QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.DistributeToResourcesFailedException: Distribute to resource failed. ---> 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)

  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)

-----------------

Another error

Error    Exception=QDSMain.Exceptions.NoRecipientsException: DSC returned no users or groups. May be configured incorrect?

  at QDSMain.Support.DSCHelper.AddNamedUsers(ILogBucket logBucket, XmlDocument xml, List`1 namedUsers, FileSystemPluginHelper fileSystemPluginHelper)

10/14/2012 7:00:13 AM    Error    Could not fetch FileSystemSecurity. 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.FolderDistributionResource.Distribute(ILogBucket i_LogBucket, DistributionRequest i_DistributionRequest)

10/14/2012 7:00:13 AM    Error    Distribution to resources failed with errors. Warnings: 0, Errors: 2

10/14/2012 7:00:13 AM    Error    The task "Dashboard Compliance" failed. Exception:

QDSMain.Exceptions.DistributionFailedException: Distribute 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)

8 Replies
Not applicable

Re: Error QDSMain.Exceptions.DistributionFailedException

I am having same issue.   Have you figured this one out?

Employee
Employee

Re: Error QDSMain.Exceptions.DistributionFailedException

It appears that Publisher can't distribute the document because the Directory service is offline (DscOffLineException). Make sure all your Qlikview Services are up and running.

Bill

Not applicable

Re: Error QDSMain.Exceptions.DistributionFailedException

Thanks Bill. All services were running. I deleted task and recreated and it ran fine.

Not applicable

Re: Error QDSMain.Exceptions.DistributionFailedException

the services are running always

i got 2 problem

1. active directory - in the end of week fail the distribution because not found the users but the services still running

2. login issues access point -  work for sometime then dont access... i restart the service and work but this happen like every week

Employee
Employee

Re: Error QDSMain.Exceptions.DistributionFailedException

Alejandro,

QlikView Directory service has nothing to do with Authentication, that is a Windows function. It sounds like to me that at times your AD is not answering requests.

Bill

Not applicable

Re: Error QDSMain.Exceptions.DistributionFailedException

11/12/2012 17:46:30.2056487     Information     Attempting to start DSC soap server at port 4730...

11/12/2012 17:46:31.8436515     Information     (LocalDirectory.LocalDirectoryProvider) Setting up path local://RPDSQL02

11/12/2012 17:46:32.1088520     Information     Initializing done

11/12/2012 17:46:40.3300664     Warning     (LocalDirectory.LocalDirectoryProvider) Exception in background directory reader: The network path was not found.

this time fail at the local directory

the active directory i remove it

The network path was not found..... thn is local in the computer  how can not found it? pls help

agigliotti
Honored Contributor II

Re: Error QDSMain.Exceptions.DistributionFailedException

Hi Bill,

I faced the same issue using version 11.20 SR4.

take a look hereError QDSMain.Exceptions.DscOffLineException: Failed to AddNamedUsers

what could be the reason ?

Thanks.

Regards

Andrea

Not applicable

Re: Error QDSMain.Exceptions.DistributionFailedException

I had the same error, reason was I didn't have a user or group assigned to the task for distribution.

Community Browser