<?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 Reload Error only when &amp;quot;scheduled&amp;quot; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reload-Error-only-when-quot-scheduled-quot/m-p/471001#M1150811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently ran into an issue with one of my qvws that would successfully reload when using the desktop client on the server but it would error out whenever I scheduled it using the Management Console.&amp;nbsp; There were no "errors" in the Document Log to help me.&amp;nbsp; Here is the only clue I had:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5/17/2013 07:06:11.2999765 Information 5/17/2013 7:06:11 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Table not found&lt;/P&gt;&lt;P&gt;5/17/2013 07:06:11.2999765 Information 5/17/2013 7:06:11 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; General Script Error&lt;/P&gt;&lt;P&gt;5/17/2013 07:06:11.2999765 Information 5/17/2013 7:06:11 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution Failed&lt;/P&gt;&lt;P&gt;5/17/2013 07:06:11.2999765 Information 5/17/2013 7:06:11 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't figure out why this table wasn't being created and therefore causing this error when I tried to drop it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It turns out that the case sensitivity in some statements are different if you are using desktop client vs. a Task to do the reload.&amp;nbsp; Here was my problem.&amp;nbsp; This was my original statement that was my root cause:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//store the folder path of this qvw&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;ActiveQVWFilePath&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DocumentPath&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( ),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DocumentName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( ),''); &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//navigate to the Source Data tree instead of the QlikView Apps tree.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vfilepath&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('$(ActiveQVWFilePath)', 'QlikView Apps', 'Source Data');&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked locally but not on the server.&amp;nbsp; By executing some trace statements and reviewing the Document Log.&amp;nbsp; I realized the Task reload was not doing the replace correctly and therefore not finding the files I was trying to load.&amp;nbsp; So I took a shot at converting everything to UPPER CASE and it worked!!!!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//store the folder path of this qvw&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;ActiveQVWFilePath&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;upper&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DocumentPath&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( ),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DocumentName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( ),'')); &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//navigate to the Source Data tree instead of the QlikView Apps tree.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vfilepath&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('$(ActiveQVWFilePath)', 'QLIKVIEW APPS', 'SOURCE DATA');&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps someone else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.&amp;nbsp; This is a good video for an introduction to troubleshooting reload issues.&amp;nbsp; &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/docs/DOC-3868"&gt;http://community.qlik.com/docs/DOC-3868&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2013 12:38:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-17T12:38:39Z</dc:date>
    <item>
      <title>Reload Error only when "scheduled"</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Error-only-when-quot-scheduled-quot/m-p/471001#M1150811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently ran into an issue with one of my qvws that would successfully reload when using the desktop client on the server but it would error out whenever I scheduled it using the Management Console.&amp;nbsp; There were no "errors" in the Document Log to help me.&amp;nbsp; Here is the only clue I had:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5/17/2013 07:06:11.2999765 Information 5/17/2013 7:06:11 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Table not found&lt;/P&gt;&lt;P&gt;5/17/2013 07:06:11.2999765 Information 5/17/2013 7:06:11 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; General Script Error&lt;/P&gt;&lt;P&gt;5/17/2013 07:06:11.2999765 Information 5/17/2013 7:06:11 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution Failed&lt;/P&gt;&lt;P&gt;5/17/2013 07:06:11.2999765 Information 5/17/2013 7:06:11 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't figure out why this table wasn't being created and therefore causing this error when I tried to drop it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It turns out that the case sensitivity in some statements are different if you are using desktop client vs. a Task to do the reload.&amp;nbsp; Here was my problem.&amp;nbsp; This was my original statement that was my root cause:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//store the folder path of this qvw&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;ActiveQVWFilePath&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DocumentPath&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( ),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DocumentName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( ),''); &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//navigate to the Source Data tree instead of the QlikView Apps tree.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vfilepath&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('$(ActiveQVWFilePath)', 'QlikView Apps', 'Source Data');&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked locally but not on the server.&amp;nbsp; By executing some trace statements and reviewing the Document Log.&amp;nbsp; I realized the Task reload was not doing the replace correctly and therefore not finding the files I was trying to load.&amp;nbsp; So I took a shot at converting everything to UPPER CASE and it worked!!!!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//store the folder path of this qvw&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;ActiveQVWFilePath&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;upper&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DocumentPath&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( ),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DocumentName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( ),'')); &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//navigate to the Source Data tree instead of the QlikView Apps tree.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vfilepath&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('$(ActiveQVWFilePath)', 'QLIKVIEW APPS', 'SOURCE DATA');&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps someone else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.&amp;nbsp; This is a good video for an introduction to troubleshooting reload issues.&amp;nbsp; &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/docs/DOC-3868"&gt;http://community.qlik.com/docs/DOC-3868&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 12:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Error-only-when-quot-scheduled-quot/m-p/471001#M1150811</guid>
      <dc:creator />
      <dc:date>2013-05-17T12:38:39Z</dc:date>
    </item>
  </channel>
</rss>

