4 Replies Latest reply: Dec 3, 2015 10:04 AM by Fjalar Jörundsson RSS

    QDS Error:DistributeTask: Unknown resource type. Type:

    Fjalar Jörundsson

      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

        • Re: QDS Error:DistributeTask: Unknown resource type. Type:
          Magnus Lovsten

          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

          • Re: QDS Error:DistributeTask: Unknown resource type. Type:
            Fjalar Jörundsson

            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ö