<?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: Script hangs up on OLEDB Connet to SQL Server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-hangs-up-on-OLEDB-Connet-to-SQL-Server/m-p/405175#M699509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Locks are purely SQL side, they occur when two or more processes try to access the same data at the same time.&amp;nbsp; They cannot be controlled from QV. You could try using WITH NOLOCK hints on your SQL code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the script doesn't get past the connect statement I suspect it may be something else anyway - you need to check from the SQL side if the request is being received. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jan 2013 22:01:16 GMT</pubDate>
    <dc:creator>flipside</dc:creator>
    <dc:date>2013-01-10T22:01:16Z</dc:date>
    <item>
      <title>Script hangs up on OLEDB Connet to SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Script-hangs-up-on-OLEDB-Connet-to-SQL-Server/m-p/405172#M699506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;My script permenantly hangs around 50% to 75% of the time when trying to connet with a SQL Server Database. &lt;/P&gt;&lt;P&gt;When debugging with a limited load the script always completes with no issues. &lt;/P&gt;&lt;P&gt;The test connection always works with no issue.&amp;nbsp; &lt;/P&gt;&lt;P&gt;This is becoming very frustrating. &lt;/P&gt;&lt;P&gt;Is there a setting I need to change?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 21:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-hangs-up-on-OLEDB-Connet-to-SQL-Server/m-p/405172#M699506</guid>
      <dc:creator />
      <dc:date>2013-01-08T21:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Script hangs up on OLEDB Connet to SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Script-hangs-up-on-OLEDB-Connet-to-SQL-Server/m-p/405173#M699507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's no obvious settings in QV that I can think of.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you querying a database that other users or processes access?&amp;nbsp; If so, check for Table/Page/Row locks on your database source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are querying a view, maybe convert this into a stored procedure or better still have a process SQL side that creates a table on a schedule that only your QV load process uses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 09:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-hangs-up-on-OLEDB-Connet-to-SQL-Server/m-p/405173#M699507</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-01-09T09:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Script hangs up on OLEDB Connet to SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Script-hangs-up-on-OLEDB-Connet-to-SQL-Server/m-p/405174#M699508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Is there a way to handle locks from the QlikView script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional information:&lt;/P&gt;&lt;P&gt;I am noticing that I will kick off a script and the progress does not print to the "Script Execution Progress" Box. Progress does get inserted into the log. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the cases, where nothing shows in the Script Execution Progress box, then the prgoess stops at the connect statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the Script Execution Progress box does get updated with the progress the OLEDB connect works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I beleive this could be a memory issue but I have plenty of RAM on my computer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 18:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-hangs-up-on-OLEDB-Connet-to-SQL-Server/m-p/405174#M699508</guid>
      <dc:creator />
      <dc:date>2013-01-10T18:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Script hangs up on OLEDB Connet to SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Script-hangs-up-on-OLEDB-Connet-to-SQL-Server/m-p/405175#M699509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Locks are purely SQL side, they occur when two or more processes try to access the same data at the same time.&amp;nbsp; They cannot be controlled from QV. You could try using WITH NOLOCK hints on your SQL code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the script doesn't get past the connect statement I suspect it may be something else anyway - you need to check from the SQL side if the request is being received. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 22:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-hangs-up-on-OLEDB-Connet-to-SQL-Server/m-p/405175#M699509</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-01-10T22:01:16Z</dc:date>
    </item>
  </channel>
</rss>

