<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PDF Distribution Finished with Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/PDF-Distribution-Finished-with-Error/m-p/135912#M1248407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd take a look at this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The process cannot access the file 'C:\ProgramData\QlikTech\DistributionService\1\temp\8691f05c-bb12-4e55-bbaf-e591d355f900\5af4066b0d6f496aa7eee91e12a229a7.pdf' because &lt;STRONG&gt;it is being used by another process.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If the PDF is open, it cannot be written. It could be the antivirus software or another process reading it.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2018 13:16:06 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2018-07-12T13:16:06Z</dc:date>
    <item>
      <title>PDF Distribution Finished with Error</title>
      <link>https://community.qlik.com/t5/QlikView/PDF-Distribution-Finished-with-Error/m-p/135911#M1248403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I'm doing this PDF distribution using QlikView Publisher and I'm getting this error (sorry for the long log,I also attached it to the post).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It's like another task is opening some kind of shared service and the script isn't available to use it. Any clue how can I solvde this? Do I need to attach some other configuration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:23:15.8556863 Error Failed to generate files. Filename=C:\ProgramData\QlikTech\DistributionService\1\temp\8691f05c-bb12-4e55-bbaf-e591d355f900\5af4066b0d6f496aa7eee91e12a229a7.pdf. Exception=System.IO.IOException: The process cannot access the file 'C:\ProgramData\QlikTech\DistributionService\1\temp\8691f05c-bb12-4e55-bbaf-e591d355f900\5af4066b0d6f496aa7eee91e12a229a7.pdf' because it is being used by another process. ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at QVBWrapper.Document.GeneratePdfFile(ILogBucket logBucket, String reportId)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:23:15.8556863 Warning Generating Pdf file was unsuccessful.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:23:15.8868864 Information Closing the document.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:23:16.5264875 Information Closed the QlikView Engine successfully. ProcessID=53824&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:23:21.5496963 Information Retry &amp;lt;1&amp;gt; of &amp;lt;5&amp;gt; to get document package.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:23:21.5496963 Error Failed to generate QVW File package.. Exception=QDSMain.Exceptions.NoDocumentPackageFoundException: No Document Package found. ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at QDSMain.DistributeHelper.GetDocumentPackage(ILogBucket logBucket, IDictionary`2 duplicateList, Document document, eDocumentType documentType, String url, Boolean showToolBar, String reportID, Int32 maxRetries, Int32 currentRetry) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at QDSMain.DistributeHelper.GrabPDFFile(ILogBucket i_LogBucket, FilePackageContainer i_ParentFilePackageContainer, String i_FileName, Dictionary`2 i_DuplicateList, Document i_Document)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:23:21.5496963 Information Deleting temporary files.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:23:21.6120964 Information Closing the document.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:23:22.2516976 Information Closed the QlikView Engine successfully. ProcessID=61052&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:24:46.7102459 Error The task "Reload and Distribute of Ventas\Qvw\NMS\NMS_Resumen_Ruta_Tra_PDF.qvw" failed. Exception: || QDSMain.Exceptions.TaskFailedException: Task execution failed with errors to follow. ---&amp;gt; QDSMain.Exceptions.LogBucketErrorException: Failed to generate QVW File package.. Exception=QDSMain.Exceptions.NoDocumentPackageFoundException: No Document Package found. ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at QDSMain.DistributeHelper.GetDocumentPackage(ILogBucket logBucket, IDictionary`2 duplicateList, Document document, eDocumentType documentType, String url, Boolean showToolBar, String reportID, Int32 maxRetries, Int32 currentRetry) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at QDSMain.DistributeHelper.GrabPDFFile(ILogBucket i_LogBucket, FilePackageContainer i_ParentFilePackageContainer, String i_FileName, Dictionary`2 i_DuplicateList, Document i_Document) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at QDSMain.DistributeTask.RevertOneAndAlwaysOne(Document qvbDocument) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at QDSMain.DistributeTask.ReleaseQvb(Document qvbDocument) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at QDSMain.DistributeTask.Distribution(String fileName, DistributionRequest distributionRequest, TaskResult taskResult, String repeatVariableName, String currentRepeatVariableValue) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace --- ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult) ||&amp;nbsp;&amp;nbsp;&amp;nbsp; at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:24:46.7102459 Information Task Execute Duration=01:34:44.4124046&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:24:46.7102459 Information Sending Alert mail&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:24:51.5150543 Information TaskResult.status=Finished&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:24:51.5150543 Information Notifying all triggers of new state:FinishedWithErrors&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:24:51.7802548 Information Notifying all triggers of new state:FinishedWithErrors - completed&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7/9/2018 17:24:51.7958548 Information Saving Task Result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PDF-Distribution-Finished-with-Error/m-p/135911#M1248403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: PDF Distribution Finished with Error</title>
      <link>https://community.qlik.com/t5/QlikView/PDF-Distribution-Finished-with-Error/m-p/135912#M1248407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd take a look at this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The process cannot access the file 'C:\ProgramData\QlikTech\DistributionService\1\temp\8691f05c-bb12-4e55-bbaf-e591d355f900\5af4066b0d6f496aa7eee91e12a229a7.pdf' because &lt;STRONG&gt;it is being used by another process.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If the PDF is open, it cannot be written. It could be the antivirus software or another process reading it.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2018 13:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PDF-Distribution-Finished-with-Error/m-p/135912#M1248407</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-07-12T13:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: PDF Distribution Finished with Error</title>
      <link>https://community.qlik.com/t5/QlikView/PDF-Distribution-Finished-with-Error/m-p/135913#M1248410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel! any clue how can I check if there's any program using it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2018 15:43:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PDF-Distribution-Finished-with-Error/m-p/135913#M1248410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-12T15:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: PDF Distribution Finished with Error</title>
      <link>https://community.qlik.com/t5/QlikView/PDF-Distribution-Finished-with-Error/m-p/135914#M1248413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been using &lt;A href="https://www.nirsoft.net/utils/opened_files_view.html" title="https://www.nirsoft.net/utils/opened_files_view.html"&gt;OpenedFilesView - View opened/locked files in your system (sharing violation issues)&lt;/A&gt; for years, and if my memory serves me well, I got to it because it was mentioned in the MSDN forums as a trusted software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure there are similar tools you can find from &lt;A href="https://docs.microsoft.com/en-gb/sysinternals/"&gt;Windows Sysinternals&lt;/A&gt; which will also work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2018 15:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PDF-Distribution-Finished-with-Error/m-p/135914#M1248413</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-07-12T15:59:45Z</dc:date>
    </item>
  </channel>
</rss>

