Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

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

QDS Error:DistributeTask: Unknown resource type. Type:

Hi all!

I'm getting one and the same error over and over again from QDS.  Everything seems to be working fine but I would really like to get rid of this error.  Someone who know what this is or how I can get rid of this ?

QDS_Error.JPG

Best regards from Sweden

Fjalar

1 Solution

Accepted Solutions
Not applicable

Re: QDS Error:DistributeTask: Unknown resource type. Type:

Hi Fjalar

There seems to be one or more tasks in your system which are saved in the wrong format for Qlikview Distribution Service. Unfortunately we can't see which ones from the log.

The tasks are stored under [ProgramData]\QlikTech\DistributionService\Tasks

I would recommend you to check these files.

The problem files are the ones with a root node called:

     <DistributeTask>


and then find the tag:

      <Resources>

Under this you have 0 to many tags:

     <Resource>

Example:

<Resource Type="QVS" ID="QVS@machine" AjaxUrl="" MountPoint="">

And the error states the Type property is empty or missing.

Once you located the invalid ones, simply try to Save them again in QMC which should correct it. If not, remove the task and create a new one.

I hope the answer didn't get too technical

/Magnus

4 Replies
Not applicable

Re: QDS Error:DistributeTask: Unknown resource type. Type:

Hi Fjalar

There seems to be one or more tasks in your system which are saved in the wrong format for Qlikview Distribution Service. Unfortunately we can't see which ones from the log.

The tasks are stored under [ProgramData]\QlikTech\DistributionService\Tasks

I would recommend you to check these files.

The problem files are the ones with a root node called:

     <DistributeTask>


and then find the tag:

      <Resources>

Under this you have 0 to many tags:

     <Resource>

Example:

<Resource Type="QVS" ID="QVS@machine" AjaxUrl="" MountPoint="">

And the error states the Type property is empty or missing.

Once you located the invalid ones, simply try to Save them again in QMC which should correct it. If not, remove the task and create a new one.

I hope the answer didn't get too technical

/Magnus

Not applicable

Re: QDS Error:DistributeTask: Unknown resource type. Type:

Thanks Magnus,

No you are absolutely not getting to technical.  I’ll check this out and then come back with my results. My biggest problem now is to find the file.  In this case we have around 10.000 task executions each 24 hours with around 1.500 distinct tasks

// Fjalar

Not applicable

Re: QDS Error:DistributeTask: Unknown resource type. Type:

Just to be clear. The Task executions should be fine. It's the task definition that you should look through. Happy task hunting

Not applicable

Re: QDS Error:DistributeTask: Unknown resource type. Type:

I found the task that made this error I read all the xml files in to QlikView and found out that it was only one file with  <Qvs Name="Cluster" ....> and not with <Resource ID="Cluster"....>

In that xml it looked like this:

  <Resources>

    <Resource>

      <AddRecipient ObjectType="Named" ID="aaa" />

      <AddRecipient ObjectType="Named" ID="bbb" />

      <AddRecipient ObjectType="Named" ID="ccc" />

      <AddRecipient ObjectType="Named" ID="ddd" />

      <AddRecipient ObjectType="Named" ID="eee" />

      <AddRecipient ObjectType="Named" ID="fff" />

    </Resource>

    <Resource Type="MailAttachment" ReportID="Document\RP01">

      <AddRecipient ObjectType="Named" ID="ddd" />

      <AddRecipient ObjectType="Named" ID="eee" />

      <AddRecipient ObjectType="Named" ID="fff" />

    </Resource>

  </Resources>

In QMC I saw that this task distributed both to QlikView Server and via E-mail.

In Destination/ Target type: nothing was checked of those three  (QlikView Server/E-mail/Folder)

In File Type/Output Document type the PDF report.... was choosen.

With only distributing via E-mail and E-mail checked as a Target type, I'm not getting any errors.

So thanks a lot for your help

Best Regards from Malmö

Community Browser