<?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 Execution Failure in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Execution-Failure/m-p/798122#M281870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We've got a QVW Script failing as it can't find the table to concatenate on, or load into the QVD.&lt;/P&gt;&lt;P&gt;ERROR messages shown on partial reload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR MESSAGE 1 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table not found Concatenate (DATES) LOAD 'P' &amp;amp; Num(period,'00') &amp;amp; yearcode AS #dFinYearPeriod, Num(period,'00') as dFinYearPeriod, Num(period,'00') as dFinPeriod, '' as dMonthEnd, Text(yearcode-1) &amp;amp; '/' &amp;amp; Text(yearcode-2000) AS dFinYear, Num(yearcode) AS dFinYearOnly, '' AS dMonth, yearcode as dYear, '' AS dMonthNo, '' as dFinYearEnd_Cur, '' as dFinYearEnd_Prev&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR MESSAGE 2 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table not found STORE DATES into C:\QlikView\QVD\DATES.qvd (qvd)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No error shown on full reload, but it doesn't continue through the script after the above (this is the beginning of a fairly large script)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've been running back and forth through the script and can't find the cause of the error. Nothing has been changed in the QVW as far as we're aware, the OLEDB connection is fine, and the stored procedure involved is working correctly, as is the sql script.&lt;/P&gt;&lt;P&gt;from the error messages we're getting this looks to be the script failure point, but we can't work out why...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATES:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;'P' &amp;amp; Num(dFinPeriod,'00') &amp;amp; Date(dFinYearEnd_Cur,'YYYY') AS #dFinYearPeriod,&lt;BR /&gt;if(isnull(dMonthEnd),&lt;BR /&gt;Num(dFinPeriod,'00'),&lt;BR /&gt; (if(dMonthEnd = '',&lt;BR /&gt; Num(dFinPeriod,'00'),&lt;BR /&gt; Num(dFinPeriod,'00') &amp;amp; ' (' &amp;amp; Text(Date (dMonthEnd,'MMM')) &amp;amp; ')'&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; ) as dFinYearPeriod,&lt;BR /&gt;Num(dFinPeriod,'00') as dFinPeriod,&lt;BR /&gt;Date(dMonthEnd, 'DD/MM/YYYY') as dMonthEnd,&lt;BR /&gt;Text(Date(dFinYearEnd_Prev,'YYYY')) &amp;amp; '/' &amp;amp; Text(Date (dFinYearEnd_Cur,'YY')) AS dFinYear,&lt;BR /&gt;Year(Date(dFinYearEnd_Cur, 'DD/MM/YYYY')) AS dFinYearOnly, //Return integer&lt;BR /&gt;Text(Date(dMonthEnd,'MMM')) AS dMonth,&lt;BR /&gt;Text(Date(dMonthEnd,'YYYY')) as dYear, &lt;BR /&gt;Num(Month(dMonthEnd),'00') AS dMonthNo,&lt;BR /&gt;Date(dFinYearEnd_Cur,'DD/MM/YYYY') as dFinYearEnd_Cur,&lt;BR /&gt;Date(dFinYearEnd_Prev,'DD/MM/YYYY') as dFinYearEnd_Prev&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//Filter to only financial year 2011/2 and later&lt;BR /&gt; WHERE Text(Date(dFinYearEnd_Cur,'YYYY'))&amp;gt;=2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;;&lt;BR /&gt;SQL EXEC&lt;BR /&gt;dbo.spGetMonthEnds&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//Add on the non-date f periods ie. 13 to 16&lt;BR /&gt;Concatenate (DATES) &lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'P' &amp;amp; Num(period,'00') &amp;amp; yearcode AS #dFinYearPeriod,&lt;BR /&gt;Num(period,'00') as dFinYearPeriod,&lt;BR /&gt;Num(period,'00') as dFinPeriod,&lt;BR /&gt;'' as dMonthEnd,&lt;BR /&gt;Text(yearcode-1) &amp;amp; '/' &amp;amp; Text(yearcode-2000) AS dFinYear,&lt;BR /&gt;Num(yearcode) AS dFinYearOnly,&lt;BR /&gt;'' AS dMonth,&lt;BR /&gt;yearcode as dYear, &lt;BR /&gt;'' AS dMonthNo,&lt;BR /&gt;'' as dFinYearEnd_Cur,&lt;BR /&gt;'' as dFinYearEnd_Prev&lt;BR /&gt;;&lt;BR /&gt;SQL Select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yearcode,&lt;BR /&gt; period&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d_details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &lt;BR /&gt; period &amp;lt;&amp;gt;'R' and&lt;BR /&gt; period &amp;gt;12 and period &amp;lt;=16&lt;BR /&gt; and yearcode &amp;gt;=2012&lt;BR /&gt; group by&lt;BR /&gt; yearcode, &lt;BR /&gt; period&lt;BR /&gt; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE DATES into $(vFolder)DATES.qvd (qvd);&lt;BR /&gt; DROP Table DATES;&lt;/P&gt;&lt;P&gt;the script execution seems to work ish, it's pulling lines back, but can't seem to find the DATES table to concatenate or store into the QVD.&lt;/P&gt;&lt;P&gt;The date manipulation taking place was all in place preiously, and there's nothing weird coming through on the SQL scripts to break any of that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm finding no errors when running the debugger either, but it's ending the script here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas or has anyone experienced this sort of thing before please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2015 13:10:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-26T13:10:53Z</dc:date>
    <item>
      <title>Execution Failure</title>
      <link>https://community.qlik.com/t5/QlikView/Execution-Failure/m-p/798122#M281870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We've got a QVW Script failing as it can't find the table to concatenate on, or load into the QVD.&lt;/P&gt;&lt;P&gt;ERROR messages shown on partial reload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR MESSAGE 1 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table not found Concatenate (DATES) LOAD 'P' &amp;amp; Num(period,'00') &amp;amp; yearcode AS #dFinYearPeriod, Num(period,'00') as dFinYearPeriod, Num(period,'00') as dFinPeriod, '' as dMonthEnd, Text(yearcode-1) &amp;amp; '/' &amp;amp; Text(yearcode-2000) AS dFinYear, Num(yearcode) AS dFinYearOnly, '' AS dMonth, yearcode as dYear, '' AS dMonthNo, '' as dFinYearEnd_Cur, '' as dFinYearEnd_Prev&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR MESSAGE 2 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table not found STORE DATES into C:\QlikView\QVD\DATES.qvd (qvd)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No error shown on full reload, but it doesn't continue through the script after the above (this is the beginning of a fairly large script)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've been running back and forth through the script and can't find the cause of the error. Nothing has been changed in the QVW as far as we're aware, the OLEDB connection is fine, and the stored procedure involved is working correctly, as is the sql script.&lt;/P&gt;&lt;P&gt;from the error messages we're getting this looks to be the script failure point, but we can't work out why...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATES:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;'P' &amp;amp; Num(dFinPeriod,'00') &amp;amp; Date(dFinYearEnd_Cur,'YYYY') AS #dFinYearPeriod,&lt;BR /&gt;if(isnull(dMonthEnd),&lt;BR /&gt;Num(dFinPeriod,'00'),&lt;BR /&gt; (if(dMonthEnd = '',&lt;BR /&gt; Num(dFinPeriod,'00'),&lt;BR /&gt; Num(dFinPeriod,'00') &amp;amp; ' (' &amp;amp; Text(Date (dMonthEnd,'MMM')) &amp;amp; ')'&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; ) as dFinYearPeriod,&lt;BR /&gt;Num(dFinPeriod,'00') as dFinPeriod,&lt;BR /&gt;Date(dMonthEnd, 'DD/MM/YYYY') as dMonthEnd,&lt;BR /&gt;Text(Date(dFinYearEnd_Prev,'YYYY')) &amp;amp; '/' &amp;amp; Text(Date (dFinYearEnd_Cur,'YY')) AS dFinYear,&lt;BR /&gt;Year(Date(dFinYearEnd_Cur, 'DD/MM/YYYY')) AS dFinYearOnly, //Return integer&lt;BR /&gt;Text(Date(dMonthEnd,'MMM')) AS dMonth,&lt;BR /&gt;Text(Date(dMonthEnd,'YYYY')) as dYear, &lt;BR /&gt;Num(Month(dMonthEnd),'00') AS dMonthNo,&lt;BR /&gt;Date(dFinYearEnd_Cur,'DD/MM/YYYY') as dFinYearEnd_Cur,&lt;BR /&gt;Date(dFinYearEnd_Prev,'DD/MM/YYYY') as dFinYearEnd_Prev&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//Filter to only financial year 2011/2 and later&lt;BR /&gt; WHERE Text(Date(dFinYearEnd_Cur,'YYYY'))&amp;gt;=2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;;&lt;BR /&gt;SQL EXEC&lt;BR /&gt;dbo.spGetMonthEnds&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//Add on the non-date f periods ie. 13 to 16&lt;BR /&gt;Concatenate (DATES) &lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'P' &amp;amp; Num(period,'00') &amp;amp; yearcode AS #dFinYearPeriod,&lt;BR /&gt;Num(period,'00') as dFinYearPeriod,&lt;BR /&gt;Num(period,'00') as dFinPeriod,&lt;BR /&gt;'' as dMonthEnd,&lt;BR /&gt;Text(yearcode-1) &amp;amp; '/' &amp;amp; Text(yearcode-2000) AS dFinYear,&lt;BR /&gt;Num(yearcode) AS dFinYearOnly,&lt;BR /&gt;'' AS dMonth,&lt;BR /&gt;yearcode as dYear, &lt;BR /&gt;'' AS dMonthNo,&lt;BR /&gt;'' as dFinYearEnd_Cur,&lt;BR /&gt;'' as dFinYearEnd_Prev&lt;BR /&gt;;&lt;BR /&gt;SQL Select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yearcode,&lt;BR /&gt; period&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d_details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &lt;BR /&gt; period &amp;lt;&amp;gt;'R' and&lt;BR /&gt; period &amp;gt;12 and period &amp;lt;=16&lt;BR /&gt; and yearcode &amp;gt;=2012&lt;BR /&gt; group by&lt;BR /&gt; yearcode, &lt;BR /&gt; period&lt;BR /&gt; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE DATES into $(vFolder)DATES.qvd (qvd);&lt;BR /&gt; DROP Table DATES;&lt;/P&gt;&lt;P&gt;the script execution seems to work ish, it's pulling lines back, but can't seem to find the DATES table to concatenate or store into the QVD.&lt;/P&gt;&lt;P&gt;The date manipulation taking place was all in place preiously, and there's nothing weird coming through on the SQL scripts to break any of that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm finding no errors when running the debugger either, but it's ending the script here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas or has anyone experienced this sort of thing before please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 13:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execution-Failure/m-p/798122#M281870</guid>
      <dc:creator />
      <dc:date>2015-03-26T13:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Execution Failure</title>
      <link>https://community.qlik.com/t5/QlikView/Execution-Failure/m-p/798123#M281871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It turned out to be a Kerberos error unrelated to the Qlikview application itself&lt;/P&gt;&lt;P&gt;Error Code: 0x7 KDC_ERR_S_PRINCIPAL_UNKNOWN&lt;/P&gt;&lt;P&gt;I think it was related to some virus cleanup work that took place overnight. A server reboot solved the issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 15:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execution-Failure/m-p/798123#M281871</guid>
      <dc:creator />
      <dc:date>2015-03-26T15:15:47Z</dc:date>
    </item>
  </channel>
</rss>

