0 Replies Latest reply: Jul 16, 2012 1:44 PM by Travis Dirmyer RSS

    QlikView 11 Publisher with PDF Report distribute

    Travis Dirmyer

      Good afternoon,

       

      I am fairly new to the QlikView 11 server and have some questions about the PDF Report Distribution part of Publisher. We're trying to get it to work and we keep recieving the SMTP error information (see below). We have SMTP traffic enabled, as we recieve error email notifications when Reload tasks fail. However, we're puzzled as to why we would recieve SMTP errors on the PDF report distributer for Qlikview server.

       

      Deployment:
      Windows Server 2008 R2 SP1

      QlikView Server 11 SR1 with Publisher, all-in-1 install

       

      ______________________________________________________________________________________________

       

      (2012-07-13 11:24:29) Information: Distributing

      (2012-07-13 11:24:29) Information: Distributing using resource "Distribute of Internal\Report Test_min.qvw_MailAttachment_1".

      (2012-07-13 11:24:31) Error: Exception=System.Net.Mail.SmtpException: Failure sending mail. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.

      (2012-07-13 11:24:31) Error:    at System.Net.Base64Stream.EncodeBytes(Byte[] buffer, Int32 offset, Int32 count, Boolean dontDeferFinalBytes, Boolean shouldAppendSpaceToCRLF)

      (2012-07-13 11:24:31) Error:    at System.Net.Base64Stream.Write(Byte[] buffer, Int32 offset, Int32 count)

      (2012-07-13 11:24:31) Error:    at System.Net.Mime.MimePart.Send(BaseWriter writer)

      (2012-07-13 11:24:31) Error:    at System.Net.Mime.MimeMultiPart.Send(BaseWriter writer)

      (2012-07-13 11:24:31) Error:    at System.Net.Mail.SmtpClient.Send(MailMessage message)

      (2012-07-13 11:24:31) Error:    --- End of inner exception stack trace ---

      (2012-07-13 11:24:31) Error:    at System.Net.Mail.SmtpClient.Send(MailMessage message)

      (2012-07-13 11:24:31) Error:    at QDSMain.SMTPServerResource.SendMail2(ILogBucket logBucket, SmtpClient smtpClient, MailMessage mailMessage, Boolean validateMailAddress)

      (2012-07-13 11:24:31) Error: Failed to EnqueueWithShapeText

      (2012-07-13 11:24:31) Error: Distribution to resources failed with errors. Warnings: 0, Errors: 2

      (2012-07-13 11:24:31) Information: Deleting temporary files.

      (2012-07-13 11:24:31) Information: Closing the document.

      (2012-07-13 11:24:31) Information: Closed the QlikView Engine successfully. ProcessID=9660

      (2012-07-13 11:24:31) Error: The task "Distribute of Internal\Report Test_min.qvw" failed. Exception:

      (2012-07-13 11:24:31) Error: QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.LogBucketErrorException: Distribution to resources failed with errors. Warnings: 0, Errors: 2

      (2012-07-13 11:24:31) Error:    at QDSMain.DistributeTask.RevertOneAndAlwaysOne(Document qvbDocument)

      (2012-07-13 11:24:31) Error:    at QDSMain.DistributeTask.ReleaseQvb(Document qvbDocument)

      (2012-07-13 11:24:31) Error:    at QDSMain.DistributeTask.Distribution(String fileName, DistributionRequest distributionRequest, TaskResult taskResult, String repeatVariableName, String currentRepeatVariableValue)

      (2012-07-13 11:24:31) Error:    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

      (2012-07-13 11:24:31) Error:    --- End of inner exception stack trace ---

      (2012-07-13 11:24:31) Error:    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

      (2012-07-13 11:24:31) Error:    at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)

      (2012-07-13 11:24:31) Information: Task Execute Duration=00:00:24.3837378

      (2012-07-13 11:24:31) Information: TaskResult.status=Finished

      (2012-07-13 11:24:31) Information: Notifying all triggers of new state:FinishedWithErrors

      (2012-07-13 11:24:31) Information: Notifying all triggers of new state:FinishedWithErrors - completed

      (2012-07-13 11:24:31) Information: Saving Task Result

      _______________________________________________________________________________________________________________

       

      Thank you all.

      Travis Dirmyer