<?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: Cannot Open file when tying to Store to a QVD in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346195#M29833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've restarted the services twice.&amp;nbsp;&amp;nbsp; Is there more than one service I need to restart.&amp;nbsp; Maybe, I'm not starting the correct service.&amp;nbsp;&amp;nbsp; What exactly is the name(s) of the qlik sense services I need to restart?&amp;nbsp;&amp;nbsp; Bill, I really appreciating you help with this issue.&amp;nbsp;&amp;nbsp;&amp;nbsp; thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 May 2017 14:22:44 GMT</pubDate>
    <dc:creator>toddprete</dc:creator>
    <dc:date>2017-05-02T14:22:44Z</dc:date>
    <item>
      <title>Cannot Open file when tying to Store to a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346187#M29825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an existing qlik sense app that runs once a month, that sometimes fails when trying to store the data to the QVD.&amp;nbsp;&amp;nbsp; Now the QVD is locked.&amp;nbsp;&amp;nbsp; The process is trying to store @ 11 million records.&amp;nbsp;&amp;nbsp; I have many other scripts that run successful but are much smaller in size.&amp;nbsp; I've pasted part of the log below.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2017-05-01 09:33:10 0182 STORE MAC_TABLE INTO&amp;nbsp; S:\Data Files\QVDFiles\RACE\GDW\MONTHLY_ACTIVE_CONTRACT_QVD.QVD&lt;/P&gt;&lt;P&gt;2017-05-01 09:33:20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Cannot open file: 'S:\Data Files\QVDFiles\RACE\GDW\MONTHLY_ACTIVE_CONTRACT_QVD.QVD'&lt;/P&gt;&lt;P&gt;2017-05-01 09:33:20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution Failed&lt;/P&gt;&lt;P&gt;2017-05-01 09:33:20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution finished.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2017 14:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346187#M29825</guid>
      <dc:creator>toddprete</dc:creator>
      <dc:date>2017-05-01T14:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Open file when tying to Store to a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346188#M29826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try putting a &lt;EM&gt;sleep(9000)&lt;/EM&gt; after the &lt;EM&gt;Store&lt;/EM&gt; command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found that when storing large qvd's the script often needs a pause to ensure everything is truly flushed from cache to disc before continuing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2017 14:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346188#M29826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-01T14:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Open file when tying to Store to a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346189#M29827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bill, should I put the sleep before or after the store.&amp;nbsp;&amp;nbsp; The error indicates the app failed on the Store and thus would not get to the sleep if I put it after the store.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2017 14:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346189#M29827</guid>
      <dc:creator>toddprete</dc:creator>
      <dc:date>2017-05-01T14:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Open file when tying to Store to a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346190#M29828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After the Store.&amp;nbsp; I know it sounds a bit counter intuitive, but it has often worked for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2017 15:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346190#M29828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-01T15:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Open file when tying to Store to a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346191#M29829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still trying to test your solution, but I can't seem to unlock the QVD that became locked when the issue occurred.&amp;nbsp; I did have my IT group restart the QLIK Sense services, but that did not unlock the QVD.&amp;nbsp;&amp;nbsp; Any suggestions on how to unlock a QVD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 13:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346191#M29829</guid>
      <dc:creator>toddprete</dc:creator>
      <dc:date>2017-05-02T13:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Open file when tying to Store to a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346192#M29830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes when thing crash out / get terminated untidily then you can get left with zombie processes that are not actually still doing anything per se, but can still have active residual locks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I would close all the Qlik windows on your session and look for / kill any residual Qlik processes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no joy with that then look for any potential zombies from any other users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If still no joy then restart the server where the QVD file resides.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 14:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346192#M29830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-02T14:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Open file when tying to Store to a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346193#M29831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm a little concerned about closing any residual qlik processes and/or zombies, as I don't want to kill something that is actually needed.&amp;nbsp;&amp;nbsp;&amp;nbsp; any hints to what a zombie looks like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, are you saying that simply restarted the service will not kill the lock, instead I need to restart the server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 14:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346193#M29831</guid>
      <dc:creator>toddprete</dc:creator>
      <dc:date>2017-05-02T14:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Open file when tying to Store to a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346194#M29832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends what created the lock.&amp;nbsp; You could first try restarting the Services.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 14:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346194#M29832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-02T14:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Open file when tying to Store to a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346195#M29833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've restarted the services twice.&amp;nbsp;&amp;nbsp; Is there more than one service I need to restart.&amp;nbsp; Maybe, I'm not starting the correct service.&amp;nbsp;&amp;nbsp; What exactly is the name(s) of the qlik sense services I need to restart?&amp;nbsp;&amp;nbsp; Bill, I really appreciating you help with this issue.&amp;nbsp;&amp;nbsp;&amp;nbsp; thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 14:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346195#M29833</guid>
      <dc:creator>toddprete</dc:creator>
      <dc:date>2017-05-02T14:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Open file when tying to Store to a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346196#M29834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then the blunt way is to &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;restart the server where the QVD file resides, &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 14:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346196#M29834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-02T14:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Open file when tying to Store to a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346197#M29835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The restarting of the server (not service) successfully unlocked the QVD.&amp;nbsp; I also added the sleep after the STORE command, reloaded the app, and the QVD was successfully reloaded.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 17:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1346197#M29835</guid>
      <dc:creator>toddprete</dc:creator>
      <dc:date>2017-05-02T17:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Open file when tying to Store to a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1557940#M40618</link>
      <description>&lt;P&gt;We experienced a similar issue with QVD locking when performing an incremental load.&amp;nbsp; In short, we read the QVD from disk and append new/updated records, then store it back to disk overwriting the old QVD.&lt;/P&gt;&lt;P&gt;Occasionally, the STORE command would fail (maybe once a week) with error messages suggesting QVD locking.&lt;/P&gt;&lt;P&gt;Thinking it was likely a latency issue where the lock wasn't being released after the initial read, we tried adding a 10s sleep BEFORE the store command.&amp;nbsp; This did &lt;U&gt;not&lt;/U&gt; resolve the issue.&amp;nbsp; After finding this thread, we added a 10s sleep AFTER the store command and the issue seems to be resolved.&amp;nbsp; We are going on 2 weeks without a task failure.&lt;/P&gt;&lt;P&gt;While counter intuitive, this solution seems to work.&amp;nbsp; Thank you very much for posting!&lt;/P&gt;&lt;P&gt;P.S.&amp;nbsp; Would be nice if the store command had this feature built in, or just worked, rather than having to use this work around.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 14:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1557940#M40618</guid>
      <dc:creator>federerman</dc:creator>
      <dc:date>2019-03-18T14:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Open file when tying to Store to a QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1613694#M45699</link>
      <description>&lt;P&gt;I've been seeing the same issue for years now. But sometimes the fail would be only once a month. so it was not that urgent for me. But I am giving this sleep suggestion a try and I hope this solves the problem.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cannot-Open-file-when-tying-to-Store-to-a-QVD/m-p/1613694#M45699</guid>
      <dc:creator>Eve182</dc:creator>
      <dc:date>2019-08-19T08:14:48Z</dc:date>
    </item>
  </channel>
</rss>

