<?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 Scheduled update task hangs up in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724759#M260037</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;I have scheduled task (a file .bat) on Windows that hangs up loading data from database (Mssql server 2008 R2).&lt;/P&gt;&lt;P&gt;The command line included in the bat file is :&lt;/P&gt;&lt;P&gt;"C:\Program Files (x86)\QlikView\Qv.exe" /r "E:\EVOLVE\MyFile.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I launch the bat from the prompt it works and loads all data correctly.&lt;/P&gt;&lt;P&gt;When it is scheduled it doesn't complete the job and hangs up.&lt;/P&gt;&lt;P&gt;I can't understand what is happening because the log file says the process is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to have a log more verbose?&lt;/P&gt;&lt;P&gt;How can I debug this strange behavior ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you veryu much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Claudio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Sep 2014 17:47:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-06T17:47:17Z</dc:date>
    <item>
      <title>Scheduled update task hangs up</title>
      <link>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724759#M260037</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;I have scheduled task (a file .bat) on Windows that hangs up loading data from database (Mssql server 2008 R2).&lt;/P&gt;&lt;P&gt;The command line included in the bat file is :&lt;/P&gt;&lt;P&gt;"C:\Program Files (x86)\QlikView\Qv.exe" /r "E:\EVOLVE\MyFile.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I launch the bat from the prompt it works and loads all data correctly.&lt;/P&gt;&lt;P&gt;When it is scheduled it doesn't complete the job and hangs up.&lt;/P&gt;&lt;P&gt;I can't understand what is happening because the log file says the process is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to have a log more verbose?&lt;/P&gt;&lt;P&gt;How can I debug this strange behavior ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you veryu much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Claudio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2014 17:47:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724759#M260037</guid>
      <dc:creator />
      <dc:date>2014-09-06T17:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled update task hangs up</title>
      <link>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724760#M260038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi Claudio,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;That's strange issue. Have you tried to use .bat file without connecting to SQL Server and just reloading Inline load or excel spreadsheet? Just to make sure if it's the ODBC/OLEDB connection which is contributing the issue. And also recommend you to create your own custom application loggin in QVW. I mean for each logical step within your QVW should write to a text file. You can write a simple subroutine which does the custom application logging and this way you can always track the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Also, try to enable below option "Can Execute External Programs". Ignore "Open Databases in Read and Write mode" - which I have accidentally highlight.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;IMG __jive_id="66122" alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/66122_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2014 18:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724760#M260038</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2014-09-06T18:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled update task hangs up</title>
      <link>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724761#M260039</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;Apart from what &lt;A href="https://community.qlik.com/qlik-users/47027"&gt;Deepak Vadithala&lt;/A&gt; had suggested.&lt;/P&gt;&lt;P&gt;Make sure close when finished is selected. Have a look at attached image.&lt;/P&gt;&lt;P&gt;let me know if that worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2014 06:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724761#M260039</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-09-07T06:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Scheduled update task hangs up</title>
      <link>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724762#M260040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Nice point Ashfaq. I prefer changing the setting at the user preferences as well. Uncheck the "Keep Progress Open after Reload".&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;See the below screenshot:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/66129_pastedImage_1.png" style="width: 620px; height: 460px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2014 08:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724762#M260040</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2014-09-07T08:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled update task hangs up</title>
      <link>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724763#M260041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Deepak and Ashfaq.&lt;/P&gt;&lt;P&gt;The problem, in fact, was the flag "Close when finished".&lt;/P&gt;&lt;P&gt;I had already unchecked the flag "Keep Progress Open after Reload".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably for test purposes the flag "Close when finished" was removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Claudio B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 07:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724763#M260041</guid>
      <dc:creator />
      <dc:date>2014-09-08T07:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled update task hangs up</title>
      <link>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724764#M260042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's great that you resolved it. Please can you close this thread by marking correct answer/helpful answer. It helps other users to find the correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;DV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;www.QlikShare.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 07:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724764#M260042</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2014-09-08T07:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled update task hangs up</title>
      <link>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724765#M260043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I close the thread?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 11:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scheduled-update-task-hangs-up/m-p/724765#M260043</guid>
      <dc:creator />
      <dc:date>2014-11-27T11:22:18Z</dc:date>
    </item>
  </channel>
</rss>

