<?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 General Script Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242978#M92825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Gargi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe they are Raw Extraction application. Two application are parallely hitting the database. To save time try incremental load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2012 13:13:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-01T13:13:59Z</dc:date>
    <item>
      <title>General Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242974#M92821</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;The data extraction is done by two extractors running parallely hit by a batch file like this:&lt;/P&gt;&lt;P&gt;LOADSTART &lt;/P&gt;&lt;P&gt;CD "D:\Qlik View\BatchFiles\Sub_Batchfiles"&lt;/P&gt;&lt;P&gt;ECHO&amp;nbsp; Qlikview Reload initiated at %DATE% %TIME%&amp;nbsp; &amp;gt;&amp;gt;LOADSTART.log&lt;/P&gt;&lt;P&gt;Start DataExtract1.BAT &lt;BR /&gt;Start DataExtract2.BAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that sometimes either of the two extractors fails &amp;amp; the error is&amp;nbsp; 'General Script Error' , so is there any way that the application doesnt exit &amp;amp; goes into a loop which will make it try atleast twice .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly I thought as I am hitting it parallely so may be due to load one is getting failed, so I put sleep command in the DataExtract2.qvw but all in vain.&lt;/P&gt;&lt;P&gt;So how to resolve this ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gargi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 10:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242974#M92821</guid>
      <dc:creator>gargi_bardhan</dc:creator>
      <dc:date>2012-02-01T10:36:33Z</dc:date>
    </item>
    <item>
      <title>General Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242975#M92822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gargi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the script error happens when you reload using Desktop instead of the scheduled task? Do the two BAT files refer to the same file so it might be reloading at the same time? How do the BAT files look like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 10:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242975#M92822</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-02-01T10:59:22Z</dc:date>
    </item>
    <item>
      <title>General Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242976#M92823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel !&lt;/P&gt;&lt;P&gt;PFA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes,reload is done using Desktop by hitting a batch file 'LOADSTART' which hits other two batch files .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) DataExtract1.BAT &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This batch reloads Data_Extract_1.qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) DataExtract2.BAT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this batch reloads Data_Extract_2.qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have divided into two extractors as it saves 1/2 of the total reload time, earlier it was taking 1hr, now 30-35min.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this reload is completed (the last one which completes) hits other Intermediate applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gargi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 12:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242976#M92823</guid>
      <dc:creator>gargi_bardhan</dc:creator>
      <dc:date>2012-02-01T12:01:02Z</dc:date>
    </item>
    <item>
      <title>General Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242977#M92824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my experience General Script Error has mostly been caused by problems with the STORE command due to the file being locked by some other application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does the QV logfile say?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Gandalf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 13:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242977#M92824</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2012-02-01T13:07:37Z</dc:date>
    </item>
    <item>
      <title>General Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242978#M92825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Gargi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe they are Raw Extraction application. Two application are parallely hitting the database. To save time try incremental load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 13:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242978#M92825</guid>
      <dc:creator />
      <dc:date>2012-02-01T13:13:59Z</dc:date>
    </item>
    <item>
      <title>General Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242979#M92826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gargi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QVW files run without issues when called from the Desktop (not using the BAT file but opening the files manually) or do the errors appear in this case as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any chance that both scripts are saving the same file name in the same folder, so one of both locks the file and the other generates the error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 14:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242979#M92826</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-02-01T14:09:36Z</dc:date>
    </item>
    <item>
      <title>General Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242980#M92827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QVW files run without issues while running from Desktop, earlier I misundrstood the term Desktop .&lt;/P&gt;&lt;P&gt;No, I checked back today there are no common file getting saved with the same name, so now how to resolve??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any issue with the batch where I have used Flag ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gargi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 05:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242980#M92827</guid>
      <dc:creator>gargi_bardhan</dc:creator>
      <dc:date>2012-02-02T05:22:03Z</dc:date>
    </item>
    <item>
      <title>General Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242981#M92828</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;Can you share the applications log file here please. I guess the server cannot handle two extractions at the same time. Does the CPU Usage reach its peak when both batches are running ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 05:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242981#M92828</guid>
      <dc:creator />
      <dc:date>2012-02-02T05:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: General Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242982#M92829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajeev,&lt;/P&gt;&lt;P&gt;This system works fine but once or twice in a month it fails, so I think server is easily handling the extraction,&lt;/P&gt;&lt;P&gt;&amp;amp; as extraction process is done in early hours so there is not much CPU usage as well . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As on daily basis log files get overwritten so I dont have the log file having the error details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gargi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 07:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242982#M92829</guid>
      <dc:creator>gargi_bardhan</dc:creator>
      <dc:date>2012-02-02T07:42:17Z</dc:date>
    </item>
    <item>
      <title>General Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242983#M92830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gargi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both reload lines seem OK to me. Make sure the user that runs the BAT file has permissions on the folders and files. If you are using Windows Scheduler, make sure the user specified to logon as when the file is triggered has the same permissions you have (or even use your own user), and that the radio button "Run whether user is logged on or not" is checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to see where exactly the script stops, open each document, go to Settings menu, Document Properties, General tab and click on "Generate logfile" and "Timestamp in logfile name". That will create a file with the same name that the QVW but ending in ".log" that will show how many lines of the script have been executed and how many records have them fetched, should they are load or select lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 12:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242983#M92830</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-02-02T12:41:51Z</dc:date>
    </item>
    <item>
      <title>General Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242984#M92831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try reloading applications via a reload engine. You can also set the dependencies among the application there.&lt;/P&gt;&lt;P&gt;Its much safer. &lt;/P&gt;&lt;P&gt;But If it fails too then atleast it will give you a proper log why did reload fail ? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 14:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242984#M92831</guid>
      <dc:creator />
      <dc:date>2012-02-02T14:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: General Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242985#M92832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user who is hitting the Bat has rights on the folder &amp;amp; its a daily process, the issues occurs once in a month but its also not fix,thats why it is geeting difficult to get rid of this issue and Window Scheduler is not used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ya the setting you mentioned is implemented here but right now I have no sample of the error log file . The errror which comes in the log is after execution of few lines is 'General Script Error' . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways thanks Miguel, once again If it fails I will attach the log file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gargi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2012 05:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242985#M92832</guid>
      <dc:creator>gargi_bardhan</dc:creator>
      <dc:date>2012-02-06T05:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: General Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242986#M92833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was having the same issue - however removing the destination file and then running the QV doc from the server to recreate it (instead of running from desktop) seems to have worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing that this sets the permissions on the file for the service account as owner (doing this manually didn't work).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 07:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error/m-p/242986#M92833</guid>
      <dc:creator />
      <dc:date>2012-07-04T07:56:39Z</dc:date>
    </item>
  </channel>
</rss>

