<?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: Execution of script failed. Empty reload required in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Execution-of-script-failed-Empty-reload-required/m-p/427642#M695343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank your Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have already checked both check-box "Generate logfile" and "Timestamp in Logfile Name" but the problem is that in this log the error did not appear&lt;/P&gt;&lt;P&gt;(the final line of this log file is the following: &lt;/P&gt;&lt;P&gt;31/05/2013 11:39:39:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution finished.&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which seems that this log file is the same that when the document reload it is successful. But the error of "Excecution of script failed" appears at the very end of the execution and it will be necessary to reload the old data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 May 2013 09:45:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-31T09:45:49Z</dc:date>
    <item>
      <title>Execution of script failed. Empty reload required</title>
      <link>https://community.qlik.com/t5/QlikView/Execution-of-script-failed-Empty-reload-required/m-p/427639#M695340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with a Qlikview documente where I have been using Resident tables, Stored .qvd files, inputfields and scriptting macros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although these combinations seems "dangerous" for this particular case it is mandatory as I will explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident tables ---- they will be used to estimate future values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sore .qvd files ---- to avoid the use of unnecesary Resident tables they will be stored in "axuliar" .qvd files where then will be loaded directly from them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input fields&amp;nbsp;&amp;nbsp;&amp;nbsp; ---&amp;nbsp;&amp;nbsp; it is required since the user will modifiy "manually" data in the dashboard. They are use at the very end of the script to avoid problems with&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resident or relationship.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scriptting macros --- they will be used to delelte the auxiliar .qvd files created to avoid residente tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally I have avoided the use of functions such as "isNull( )" and I used insted "len( )" functions .... since I read that it sometimes will cause problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything works fine all together. However, SOMETIMES the&amp;nbsp; ERROR "Execution of script failed. Reload old data?" without explaining anything in the log file neither in any displayed message and neither using the ErrorMode=0 and usign the variables "ScriptErrorList" or "ScriptError".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the document works PERFECTLY when i keep using the same dates, BUT SOMETIMES (others not) when I change some parameter (related with the estimation period of time) this error appears and I should do and empty reload to avoid this problem. Once I perform this empty reload the document continues working perfectly on every reload. However every time i change some parameter I have to perform this operation (empty reload and then it will woks again).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that i don't find this very useful. &lt;/P&gt;&lt;P&gt;Is there any possibility to perform a empty reload automatically and then continue executing the normal script in a transparent way for the users?&lt;/P&gt;&lt;P&gt;Or how I can solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for your help and time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 08:46:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execution-of-script-failed-Empty-reload-required/m-p/427639#M695340</guid>
      <dc:creator />
      <dc:date>2013-05-31T08:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Execution of script failed. Empty reload required</title>
      <link>https://community.qlik.com/t5/QlikView/Execution-of-script-failed-Empty-reload-required/m-p/427640#M695341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry! I mislead the "inputfields" description. I is&amp;nbsp; the stored .qvd files are the one which will be used to avoid the use of resident tables when it could be avoided and not the "inputfields"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 08:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execution-of-script-failed-Empty-reload-required/m-p/427640#M695341</guid>
      <dc:creator />
      <dc:date>2013-05-31T08:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Execution of script failed. Empty reload required</title>
      <link>https://community.qlik.com/t5/QlikView/Execution-of-script-failed-Empty-reload-required/m-p/427641#M695342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you enabled the Generate Logfile option in the Document properties. Then check the log file after a failed reload to see if you can find any errors indicating what may have caused the failure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 09:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execution-of-script-failed-Empty-reload-required/m-p/427641#M695342</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-31T09:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Execution of script failed. Empty reload required</title>
      <link>https://community.qlik.com/t5/QlikView/Execution-of-script-failed-Empty-reload-required/m-p/427642#M695343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank your Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have already checked both check-box "Generate logfile" and "Timestamp in Logfile Name" but the problem is that in this log the error did not appear&lt;/P&gt;&lt;P&gt;(the final line of this log file is the following: &lt;/P&gt;&lt;P&gt;31/05/2013 11:39:39:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution finished.&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which seems that this log file is the same that when the document reload it is successful. But the error of "Excecution of script failed" appears at the very end of the execution and it will be necessary to reload the old data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 09:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execution-of-script-failed-Empty-reload-required/m-p/427642#M695343</guid>
      <dc:creator />
      <dc:date>2013-05-31T09:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Execution of script failed. Empty reload required</title>
      <link>https://community.qlik.com/t5/QlikView/Execution-of-script-failed-Empty-reload-required/m-p/427643#M695344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to do debug with step one by one so, that you ll&amp;nbsp; find&amp;nbsp; the error for that&lt;/P&gt;&lt;P&gt;if your app. works perfectly to avoi it &lt;/P&gt;&lt;P&gt;on the top of script write Set ErrorMode=0;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 10:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execution-of-script-failed-Empty-reload-required/m-p/427643#M695344</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-05-31T10:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Execution of script failed. Empty reload required</title>
      <link>https://community.qlik.com/t5/QlikView/Execution-of-script-failed-Empty-reload-required/m-p/427644#M695345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you er.mohit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already debug the document and it seems to work perfectly. &lt;/P&gt;&lt;P&gt;Additionally I tried the functionalty of the ErrorMode by doing "Set ErrorMode=0" but I have the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem appears because I have 2 tables each one with some inputfields. Although the funny thing is that I don't know why if I previously reload the document empty it works perfectly in the following executions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 10:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execution-of-script-failed-Empty-reload-required/m-p/427644#M695345</guid>
      <dc:creator />
      <dc:date>2013-05-31T10:11:58Z</dc:date>
    </item>
  </channel>
</rss>

