<?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>article Reload Task Fail With Error System.IO.IOException The process cannot access the file because it is being used by another process. in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Reload-Task-Fail-With-Error-System-IO-IOException-The-process/ta-p/1712721</link>
    <description>&lt;P&gt;A QlikView reload or Distribution task fails error message&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;System.IO.IOException: The process cannot access the file because it is being used by another process.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The task log will shows a successful reload but indicates the reloaded document can not be saved:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Information: Reload finished successfully&lt;BR /&gt;Information: Start saving document&lt;BR /&gt;Error: The sourcedocument failed to save.. Exception=System.IO.IOException: The process cannot access the file because it is being used by another process.&lt;BR /&gt;Error: &amp;nbsp; &amp;nbsp;at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&lt;BR /&gt;Error: &amp;nbsp; &amp;nbsp;at System.IO.File.InternalReplace(String sourceFileName, String destinationFileName, String destinationBackupFileName, Boolean ignoreMetadataErrors)&lt;BR /&gt;Error: &amp;nbsp; &amp;nbsp;at QVBWrapper.Document.ReplaceSourceFile(ILogBucket logBucket, String replaceFromFileName, String replaceToFilename)&lt;BR /&gt;Error: &amp;nbsp; &amp;nbsp;at QVBWrapper.Document.Save(ILogBucket i_LogBucket, String i_SaveAsFileName)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;File Access&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;After a successful reload of a QlikView Application (QVW) file, the old file is removed and replaced with a new file containing the new data.&amp;nbsp;The error message indicates either that the old file could not be removed, or that file access is too slow to process the request.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To identify if file access is too slow due to network&amp;nbsp;latency, or due to disk read/write delays, review&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/QlikView-and-its-backend-File-Share-System/ta-p/1713428" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/QlikView-and-its-backend-File-Share-System"&gt;QlikView and its backend File Share System&lt;/A&gt;&amp;nbsp;for details on the importance of fast file access, and how to monitor file shares.&lt;BR /&gt;In addition.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the case of file locks caused by processes locking the original file, the most common processes include:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Anti-virus software&lt;/LI&gt;
&lt;LI&gt;Backup software&lt;/LI&gt;
&lt;LI&gt;QlikView services&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The recommendation is to exclude QlikView folders from anti-virus scan. See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/QlikView-Folder-And-Files-To-Exclude-From-Anti-Virus-Scanning/ta-p/1713060" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/QlikView-Folder-And-Files-To-Exclude-From-Anti-Virus-Scanning"&gt;What QlikView folder/files to exclude for anti-virus scanning&lt;/A&gt;&amp;nbsp;for more details.&amp;nbsp;&lt;BR /&gt;Backup of QVW files must be planned and scheduled so that they do not interfere with QlikView tasks, to avoid file access conflicts.&lt;BR /&gt;&lt;BR /&gt;The issue in general can only be resolved by identifying the process that is locking the file. See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/File-Access-and-Process-Monitoring-How-to-find-locked-files-and/ta-p/1712539" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/Process-Monitoring-How-to-find-locked-files-and-the-processes-locking-them"&gt;Process Monitoring - How to find locked files and the processes locking them&lt;/A&gt;&amp;nbsp;for more details on how to identify the process that locks the QVW file.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Corrupted File&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;The file was previously corrupted.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Replace the QlikView document with a working copy&lt;/LI&gt;
&lt;LI&gt;Rebuild the QlikView document from its project folder&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Wed, 20 Mar 2024 15:15:30 GMT</pubDate>
    <dc:creator>Yoichi_Hirotake</dc:creator>
    <dc:date>2024-03-20T15:15:30Z</dc:date>
    <item>
      <title>Reload Task Fail With Error System.IO.IOException The process cannot access the file because it is being used by another process.</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Reload-Task-Fail-With-Error-System-IO-IOException-The-process/ta-p/1712721</link>
      <description>&lt;P&gt;A QlikView reload or Distribution task fails error message&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;System.IO.IOException: The process cannot access the file because it is being used by another process.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The task log will shows a successful reload but indicates the reloaded document can not be saved:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Information: Reload finished successfully&lt;BR /&gt;Information: Start saving document&lt;BR /&gt;Error: The sourcedocument failed to save.. Exception=System.IO.IOException: The process cannot access the file because it is being used by another process.&lt;BR /&gt;Error: &amp;nbsp; &amp;nbsp;at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&lt;BR /&gt;Error: &amp;nbsp; &amp;nbsp;at System.IO.File.InternalReplace(String sourceFileName, String destinationFileName, String destinationBackupFileName, Boolean ignoreMetadataErrors)&lt;BR /&gt;Error: &amp;nbsp; &amp;nbsp;at QVBWrapper.Document.ReplaceSourceFile(ILogBucket logBucket, String replaceFromFileName, String replaceToFilename)&lt;BR /&gt;Error: &amp;nbsp; &amp;nbsp;at QVBWrapper.Document.Save(ILogBucket i_LogBucket, String i_SaveAsFileName)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;File Access&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;After a successful reload of a QlikView Application (QVW) file, the old file is removed and replaced with a new file containing the new data.&amp;nbsp;The error message indicates either that the old file could not be removed, or that file access is too slow to process the request.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To identify if file access is too slow due to network&amp;nbsp;latency, or due to disk read/write delays, review&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/QlikView-and-its-backend-File-Share-System/ta-p/1713428" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/QlikView-and-its-backend-File-Share-System"&gt;QlikView and its backend File Share System&lt;/A&gt;&amp;nbsp;for details on the importance of fast file access, and how to monitor file shares.&lt;BR /&gt;In addition.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the case of file locks caused by processes locking the original file, the most common processes include:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Anti-virus software&lt;/LI&gt;
&lt;LI&gt;Backup software&lt;/LI&gt;
&lt;LI&gt;QlikView services&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The recommendation is to exclude QlikView folders from anti-virus scan. See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/QlikView-Folder-And-Files-To-Exclude-From-Anti-Virus-Scanning/ta-p/1713060" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/QlikView-Folder-And-Files-To-Exclude-From-Anti-Virus-Scanning"&gt;What QlikView folder/files to exclude for anti-virus scanning&lt;/A&gt;&amp;nbsp;for more details.&amp;nbsp;&lt;BR /&gt;Backup of QVW files must be planned and scheduled so that they do not interfere with QlikView tasks, to avoid file access conflicts.&lt;BR /&gt;&lt;BR /&gt;The issue in general can only be resolved by identifying the process that is locking the file. See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/File-Access-and-Process-Monitoring-How-to-find-locked-files-and/ta-p/1712539" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/Process-Monitoring-How-to-find-locked-files-and-the-processes-locking-them"&gt;Process Monitoring - How to find locked files and the processes locking them&lt;/A&gt;&amp;nbsp;for more details on how to identify the process that locks the QVW file.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Corrupted File&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;The file was previously corrupted.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Replace the QlikView document with a working copy&lt;/LI&gt;
&lt;LI&gt;Rebuild the QlikView document from its project folder&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 20 Mar 2024 15:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Reload-Task-Fail-With-Error-System-IO-IOException-The-process/ta-p/1712721</guid>
      <dc:creator>Yoichi_Hirotake</dc:creator>
      <dc:date>2024-03-20T15:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Task Fail With Error System.IO.IOException The process cannot access the file because it is being used by another process.</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Reload-Task-Fail-With-Error-System-IO-IOException-The-process/tac-p/2523069#M16058</link>
      <description>&lt;P&gt;In our case with QlikView May 2024 SR1 we had a NPrinting connection opening the QlikView file with an UNC connection causing the I/O.&lt;/P&gt;&lt;P&gt;FMa&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 09:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Reload-Task-Fail-With-Error-System-IO-IOException-The-process/tac-p/2523069#M16058</guid>
      <dc:creator>fmarvnnt</dc:creator>
      <dc:date>2025-07-03T09:23:11Z</dc:date>
    </item>
  </channel>
</rss>

