<?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 Section Access - Script dies -&amp;gt; Help wracking brain... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203986#M713051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found logging I just didn't have it turned on. The log is no help at all. It says there is a general script error. Hmm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11/27/10 02:03:20: Execution started.&lt;BR /&gt;11/27/10 02:03:20: QlikView Version:9.00.7320.7&lt;BR /&gt;11/27/10 02:03:20: 0002 SECTION ACCESS&lt;BR /&gt;11/27/10 02:03:20: 0004 DIRECTORY '..\QVD'&lt;BR /&gt;11/27/10 02:03:20: 0006 TRACE Starting section access&lt;BR /&gt;11/27/10 02:03:20: 0006 Starting section access&lt;BR /&gt;&lt;BR /&gt;11/27/10 02:03:20: 0009 LOAD [PASSWORD] as PASSWORD,&lt;BR /&gt;11/27/10 02:03:20: 0010 [ACCESS] as ACCESS,&lt;BR /&gt;11/27/10 02:03:20: 0011 REDUCTION,&lt;BR /&gt;11/27/10 02:03:20: 0012 REDUCTION as USERID&lt;BR /&gt;11/27/10 02:03:20: 0013 FROM&lt;BR /&gt;11/27/10 02:03:20: 0014 E:\Projects\Pepsi\LSDev\QVD\E_LSUSERS.QVD&lt;BR /&gt;11/27/10 02:03:20: 0015 (qvd)&lt;BR /&gt;11/27/10 02:03:20: 4 fields found: PASSWORD, ACCESS, REDUCTION, USERID, General Script Error&lt;BR /&gt;11/27/10 02:03:20: Execution Failed&lt;BR /&gt;11/27/10 02:03:20: Execution finished.&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Nov 2010 11:02:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-11-27T11:02:07Z</dc:date>
    <item>
      <title>Section Access - Script dies -&gt; Help wracking brain...</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203983#M713048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a really simple sript rignt now. It will be integrated with another script but this bit below wont run. The script simply reports "Execution of script failed. Reload Old data. I copied a wee bit of script from for loading data inline just to be sure something wasn't really wrong. The inline script commented out below runs fine. Note that my path is good and the "load" script from qvd below is exactly what the wizzard put in the script (except REDUCTION as USERID) but I can write SQL blind so I am pretty sure this bit is fine. What's wrong? I am using the USERID as the filed that will eventually be used for dynamic data reduction.&lt;/P&gt;&lt;P&gt;Any ideas would be great. Also, if anyone knows where the log file would be that would help. The error message is pretty useless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;BR /&gt;DIRECTORY '..\QVD';&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;LOAD [PASSWORD],&lt;BR /&gt; [ACCESS],&lt;BR /&gt; REDUCTION,&lt;BR /&gt; REDUCTION as USERID&lt;BR /&gt;FROM&lt;BR /&gt;E:\Projects\Pepsi\LSDev\QVD\E_LSUSERS.QVD&lt;BR /&gt;(qvd);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;//&lt;BR /&gt;//LOAD * INLINE [&lt;BR /&gt;//ACCESS, USERID, PASSWORD, OMIT&lt;BR /&gt;//ADMIN, ADMIN, ADMIN,&lt;BR /&gt;//USER, USER1, U1, SALES&lt;BR /&gt;//USER, USER2, U2, WAREHOUSE&lt;BR /&gt;//USER, USER3, U3, EMPLOYEES&lt;BR /&gt;//USER, USER4, U4, SALES&lt;BR /&gt;//USER, USER4, U4, WAREHOUSE&lt;BR /&gt;//USER, USER5, U5, *&lt;BR /&gt;//];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 05:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203983#M713048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-27T05:16:39Z</dc:date>
    </item>
    <item>
      <title>Section Access - Script dies -&gt; Help wracking brain...</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203984#M713049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a SECTION APPLICATION before your script?&lt;/P&gt;&lt;P&gt;Alternatively you may switch off the option to create a logfile. Sometimes after a QV has crashed, the logfile is still open and prevents an update of same.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 09:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203984#M713049</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2010-11-27T09:09:07Z</dc:date>
    </item>
    <item>
      <title>Section Access - Script dies -&gt; Help wracking brain...</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203985#M713050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do have a SECTION APPLICATION after my SECTION ACCESS IN MY SCRIPT. If i comment out the section access, the rest of it runs fine. Its just the section access bit. Can you tell me where the error log would be for my documents - i'll try and switch off option to create a log file but i dont know what option that is? i checked under application data for Qliktech under my account and all users and nothing that i can see looks like a docoument log. I really have no idea why its dying. I have done this before without too much trouble but this one is really stumping me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 10:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203985#M713050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-27T10:42:49Z</dc:date>
    </item>
    <item>
      <title>Section Access - Script dies -&gt; Help wracking brain...</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203986#M713051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found logging I just didn't have it turned on. The log is no help at all. It says there is a general script error. Hmm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11/27/10 02:03:20: Execution started.&lt;BR /&gt;11/27/10 02:03:20: QlikView Version:9.00.7320.7&lt;BR /&gt;11/27/10 02:03:20: 0002 SECTION ACCESS&lt;BR /&gt;11/27/10 02:03:20: 0004 DIRECTORY '..\QVD'&lt;BR /&gt;11/27/10 02:03:20: 0006 TRACE Starting section access&lt;BR /&gt;11/27/10 02:03:20: 0006 Starting section access&lt;BR /&gt;&lt;BR /&gt;11/27/10 02:03:20: 0009 LOAD [PASSWORD] as PASSWORD,&lt;BR /&gt;11/27/10 02:03:20: 0010 [ACCESS] as ACCESS,&lt;BR /&gt;11/27/10 02:03:20: 0011 REDUCTION,&lt;BR /&gt;11/27/10 02:03:20: 0012 REDUCTION as USERID&lt;BR /&gt;11/27/10 02:03:20: 0013 FROM&lt;BR /&gt;11/27/10 02:03:20: 0014 E:\Projects\Pepsi\LSDev\QVD\E_LSUSERS.QVD&lt;BR /&gt;11/27/10 02:03:20: 0015 (qvd)&lt;BR /&gt;11/27/10 02:03:20: 4 fields found: PASSWORD, ACCESS, REDUCTION, USERID, General Script Error&lt;BR /&gt;11/27/10 02:03:20: Execution Failed&lt;BR /&gt;11/27/10 02:03:20: Execution finished.&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 11:02:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203986#M713051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-27T11:02:07Z</dc:date>
    </item>
    <item>
      <title>Section Access - Script dies -&gt; Help wracking brain...</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203987#M713052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not something to do with the QVD file is it? Try loading it in a test document that doesnt have section access just to make sure.&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 11:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203987#M713052</guid>
      <dc:creator />
      <dc:date>2010-11-27T11:04:00Z</dc:date>
    </item>
    <item>
      <title>Section Access - Script dies -&gt; Help wracking brain...</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203988#M713053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh and try removing the directory statement - you are accessing the qvd with an absolute path so just to make sure QV isnt getting confused....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 11:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203988#M713053</guid>
      <dc:creator />
      <dc:date>2010-11-27T11:06:21Z</dc:date>
    </item>
    <item>
      <title>Section Access - Script dies -&gt; Help wracking brain...</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203989#M713054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tim,&lt;/P&gt;&lt;P&gt;Section Access won't load from an optimized QVD So either ot the following should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD [PASSWORD], [ACCESS], REDUCTION, REDUCTION as USERIDFROME:\Projects\Pepsi\LSDev\QVD\E_LSUSERS.QVD(qvd) WHERE 1=1; // This forces an unoptimized load&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD UPPER([PASSWORD]) AS PASSWORD, UPPER([ACCESS]) AS ACCESS, // Just to make sure the values are being pulled correctly UPPER(REDUCTION) AS REDUCTION, // As all fields and values must be uppercase in SA UPPER(REDUCTION) as USERID // The UPPER() unoptimizes the load likewiseFROME:\Projects\Pepsi\LSDev\QVD\E_LSUSERS.QVD(qvd);&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 12:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203989#M713054</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-11-27T12:46:52Z</dc:date>
    </item>
    <item>
      <title>Section Access - Script dies -&gt; Help wracking brain...</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203990#M713055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works Miguel! So happy. Is that documented anywhere? I was pouring over anything I could find on section access yesterday and could not see it. Thx to others to. I did have it working without section access first and the directory statement was there because all my qvd's are in one spot. The hard coded path was one of a number of desperate attempts to make it work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Nov 2010 20:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-Script-dies-gt-Help-wracking-brain/m-p/203990#M713055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-27T20:05:03Z</dc:date>
    </item>
  </channel>
</rss>

