<?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: General Script Error when loading from csv-File in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356208#M416254</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;thanks for the feedback. I already read it - unfortunately this doesn't work out as I still have it activated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Apr 2017 15:59:41 GMT</pubDate>
    <dc:creator>jpar0511</dc:creator>
    <dc:date>2017-04-06T15:59:41Z</dc:date>
    <item>
      <title>General Script Error when loading from csv-File</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356206#M416252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have moved our system installation from QV 11.20 to a new machine and a fresh installation of QV 12.10 SR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately one of our tasks is showing some crazy behaviour.&lt;/P&gt;&lt;P&gt;This didn't happen on the old machine!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have two QVW-Tasks. The first one is getting some data from different sources and storing this data split up by country in separate CSV-Files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other Task is triggered by successful finishing the first task.&lt;/P&gt;&lt;P&gt;The job is to put the country information together in a big table exporting the complete chart after some more additions as a qvd.&lt;/P&gt;&lt;P&gt;Unfortunatelly this ends up with a general script error after some successfull loads (meaning 3 files are loaded and the 4th ends with an error).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The partial log looks like this:&lt;/P&gt;&lt;P&gt;2017-04-06 15:20:52 0077&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0057 let fDate_1 = left('E:\Qlikview\QVD\SAP\FI\Abgleich_CH_2017-03-31_V19.4_VLF_Task_01.csv',42)&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0058 let fDate =purgechar(right('E:\Qlikview\QVD\SAP\FI\Abgleich_CH_2017-03',7),'-')&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0060 SAP_BALANCES:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0061 LOAD SAP,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0062&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACC,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0063&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOURCE,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0064&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BETRAG,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0065&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Land,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0066&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '201703' as SAP_Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0067&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @0&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0068&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0069 FROM E:\Qlikview\QVD\SAP\FI\Abgleich_CH_2017-03-31_V19.4_VLF_Task_01.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0070 (txt, utf8, embedded labels, delimiter is ';', msq)&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7 fields found: SAP, ACC, SOURCE, BETRAG, Land, SAP_Date, @0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.758 lines fetched&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0072 execute cmd.exe /c move E:\Qlikview\QVD\SAP\FI\Abgleich_CH_2017-03-31_V19.4_VLF_Task_01.csv E:\Qlikview\QVD\SAP\FI\Archive&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Running an execute command&lt;/P&gt;&lt;P&gt;2017-04-06 15:20:52 0076 Next&lt;/P&gt;&lt;P&gt;2017-04-06 15:20:52 0077&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0057 let fDate_1 = left('E:\Qlikview\QVD\SAP\FI\Abgleich_DE_2017-03-31_V19.4_VLF_Task_01.csv',42)&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0058 let fDate =purgechar(right('E:\Qlikview\QVD\SAP\FI\Abgleich_DE_2017-03',7),'-')&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0060 SAP_BALANCES:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0061 LOAD SAP,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0062&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACC,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0063&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOURCE,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0064&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BETRAG,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0065&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Land,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0066&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '201703' as SAP_Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0067&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @0&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0068&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0069 FROM E:\Qlikview\QVD\SAP\FI\Abgleich_DE_2017-03-31_V19.4_VLF_Task_01.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52 0070 (txt, utf8, embedded labels, delimiter is ';', msq)&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7 fields found: SAP, ACC, SOURCE, BETRAG, Land, SAP_Date, @0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; General Script Error&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution Failed&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2017-04-06 15:20:52&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, one file is working, the next not. Pretty funny about this is, that when the same QVW is started from the desktop client it works without errors. If the task is started manually for a second time it also processes all files that are left. But using the Task there is no chance to process all files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the script part that runs fine for 3 times and then causes the general error:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="script.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159244_script.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried really anythin I could imagine - sleep times between the runs or at the beginning to avoid file being locked by the old reload - nothing worked out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards &amp;amp; many thanks&lt;BR /&gt;Jörg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 13:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356206#M416252</guid>
      <dc:creator>jpar0511</dc:creator>
      <dc:date>2017-04-06T13:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: General Script Error when loading from csv-File</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356207#M416253</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;Read this, the problem is perhaps linked to the EXCUTE action :&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewcookbook.com/2016/12/qv-12-10-can-execute-external-programs-is-back/" title="http://qlikviewcookbook.com/2016/12/qv-12-10-can-execute-external-programs-is-back/"&gt;QV 12.10 “Can Execute External Programs” is back | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 15:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356207#M416253</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2017-04-06T15:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: General Script Error when loading from csv-File</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356208#M416254</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;thanks for the feedback. I already read it - unfortunately this doesn't work out as I still have it activated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 15:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356208#M416254</guid>
      <dc:creator>jpar0511</dc:creator>
      <dc:date>2017-04-06T15:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: General Script Error when loading from csv-File</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356209#M416255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as a result to the execute-hint again I tried to comment the part with the execute command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the fail it is independent whether the execute command is in use or not. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 05:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356209#M416255</guid>
      <dc:creator>jpar0511</dc:creator>
      <dc:date>2017-04-07T05:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: General Script Error when loading from csv-File</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356210#M416256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure but it looks like the file has some problem while fetching the data. Could you try to load the specific file alone and see whether the rows are fetched properly or not.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159378_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 06:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356210#M416256</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2017-04-07T06:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: General Script Error when loading from csv-File</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356211#M416257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was my first guess. But in a second run it works without any problems (same file, nothing else changed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the log for a single load of the "problem-causing-file":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="script2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159379_script2.png" style="font-size: 13.3333px;" /&gt;&lt;/P&gt;&lt;P&gt;Created with the German version but that should make no difference for the result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 06:14:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356211#M416257</guid>
      <dc:creator>jpar0511</dc:creator>
      <dc:date>2017-04-07T06:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: General Script Error when loading from csv-File</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356212#M416258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD SAP,&lt;/P&gt;&lt;P&gt;ACC,&lt;/P&gt;&lt;P&gt;SOURCE,&lt;/P&gt;&lt;P&gt;BETRAG,&lt;/P&gt;&lt;P&gt;Land,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;'201703'&lt;/SPAN&gt; &lt;/STRONG&gt;as SAP_Date,&lt;/P&gt;&lt;P&gt;@0&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;E&gt;&lt;/E&gt;&lt;/P&gt;&lt;P&gt;(txt, utf8, embedded labels, delimiter is ';', msq);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 06:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356212#M416258</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2017-04-07T06:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: General Script Error when loading from csv-File</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356213#M416259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you but no difference at all &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 07:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356213#M416259</guid>
      <dc:creator>jpar0511</dc:creator>
      <dc:date>2017-04-07T07:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: General Script Error when loading from csv-File</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356214#M416260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jorg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No idea &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;. I am not sure why it's not working when you scheduled the job but the same working in your desktop client perfectly. &lt;SPAN style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/people/marcus_sommer"&gt;marcus_sommer&lt;/A&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;might have answer for this behavior. Lets wait for his reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 07:18:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356214#M416260</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2017-04-07T07:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: General Script Error when loading from csv-File</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356215#M416261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds really buggy. Is the client in which it worked on the same release as the server? If not there could be a problem because different release shouldn't be mixed up - maybe an upgrade to 12.10 SR4 is a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside this I would do some trial &amp;amp; error, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- tracing any variable&lt;/P&gt;&lt;P&gt;- sleep statements&lt;/P&gt;&lt;P&gt;- removing msq from the file-format&lt;/P&gt;&lt;P&gt;- checking the csv-fileformat - are both really utf8&lt;/P&gt;&lt;P&gt;- checking the active directory for the access-rights for both files&lt;/P&gt;&lt;P&gt;- skipping the load-order of the files within the filelist-loop (renaming DE to AA should work)&lt;/P&gt;&lt;P&gt;- loading the fields with a * wildcard&lt;/P&gt;&lt;P&gt;- using first 10 or similar to check if a reduced load will run&lt;/P&gt;&lt;P&gt;- storing each file as qvd and then droping the table and after the loop loading the qvd again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will be useful in any way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 08:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356215#M416261</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-04-07T08:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: General Script Error when loading from csv-File</title>
      <link>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356216#M416262</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 did a bit of trial and error as suggested. Our Desktop and Server are both on the same service release to avoid mixing &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the testing results:&lt;/P&gt;&lt;DIV class="j-thread-post j-rc4"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;- tracing any variable&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no result that would help&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;- sleep statements&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #ff0000;"&gt;no result that would help (that was my first try to avoid file locks)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;- removing msq from the file-format&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #ff0000;"&gt;no result that would help&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;- checking the csv-fileformat - are both really utf8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #ff0000;"&gt;no result that would help (all files are created in a loop by the same QVW)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;- checking the active directory for the access-rights for both files&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #ff0000;"&gt;no result that would help&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;- skipping the load-order of the files within the filelist-loop (renaming DE to AA should work)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #ff0000;"&gt;no result that would help --&amp;gt; File AA is skipped than or if put to the end ZZ is skipped&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;- loading the fields with a * wildcard&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #ff0000;"&gt;no result that would help&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;- using first 10 or similar to check if a reduced load will run&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #339966;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #00ff00; font-size: 13.3333px;"&gt;&lt;STRONG style=": ; color: #399d43;"&gt;I tried First 10 and the whole script ran perfect. I adjusted it first to 100, then to 1.000 and finally to 10.000. Everything is&amp;nbsp; loading as suggested - although done through the Task. As we have approx. 6.800 lines of data in this csv file this would have been the final solution. In order to avoid future problems I tried with 100.000 lines and finally set the FIRST paramenter to 500.000. It's still running as planned.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG style="color: #399d43;"&gt;My personal result is that when using a limit (doesn't matter of which size) the load operations works for my CSV-Files.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;- storing each file as qvd and then droping the table and after the loop loading the qvd again&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #ff0000;"&gt;didn't try that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for that trial and error-suggestions &lt;A href="https://community.qlik.com/qlik-users/27943"&gt;marcus_sommer&lt;/A&gt; and all others for the tipps.&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally - strange behaviour of QlikView - don't know if that might be a support topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A nice weekend to all of you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 09:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-Script-Error-when-loading-from-csv-File/m-p/1356216#M416262</guid>
      <dc:creator>jpar0511</dc:creator>
      <dc:date>2017-04-07T09:30:37Z</dc:date>
    </item>
  </channel>
</rss>

