<?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: Handling errors in OLEDB CONNECT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643982#M676821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Cyrus! This is what I was looking for &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jun 2014 10:00:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-09T10:00:26Z</dc:date>
    <item>
      <title>Handling errors in OLEDB CONNECT</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643976#M676808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a OLEDB CONNECT in a scheduled reload that sometimes fails. Is there a way of handling that failure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to use another OLEDB CONNECT if the first one fails. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I can handle failure at the moment is in the QMC job scheduler.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 07:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643976#M676808</guid>
      <dc:creator />
      <dc:date>2014-06-09T07:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Handling errors in OLEDB CONNECT</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643977#M676810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside QMC go to System-&amp;gt;Setup-&amp;gt;Select Distribution Services -&amp;gt;Alert E-mail and here mention your email Id. This will&amp;nbsp; help you for getting automatic alert whenever any task got failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/60283_pastedImage_0.png" style="width: 620px; height: 95px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 07:33:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643977#M676810</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-06-09T07:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Handling errors in OLEDB CONNECT</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643978#M676811</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;If i was you i would find out what the cause of the failure is. In my mind the following could be the issue: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Different connection name: Make sure that the connection name on the server and the development environment is the same. &lt;/P&gt;&lt;P&gt;2. User credentials: Make sure that the user credentials being used on the development machine are valid on the server too. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This could help you eliminate the failure in the first place. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 07:35:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643978#M676811</guid>
      <dc:creator />
      <dc:date>2014-06-09T07:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Handling errors in OLEDB CONNECT</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643979#M676814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but I got alert emails set up already. I am looking for some way to automatically connect to the second database, if the first one fails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 07:39:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643979#M676814</guid>
      <dc:creator />
      <dc:date>2014-06-09T07:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Handling errors in OLEDB CONNECT</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643980#M676818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a cluster with 2 IP addresses. Sometimes the main server goes down and the OLEDB CONNECT fails.When this happens, I need to connect to the second server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 07:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643980#M676818</guid>
      <dc:creator />
      <dc:date>2014-06-09T07:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Handling errors in OLEDB CONNECT</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643981#M676820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second ODBC will be used if the first one fails. !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;set ErrorMode=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT32 TO [Provider=MSDASQL.1;Persist Security Info=False;Data Source=MyTest;Extended Properties="DSN=MyTest;DBQ=C:\Temp\Database1.accdb;DriverId=25;FIL=MS Access;MaxBufferSize=2048;PageTimeout=5;"];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let ErrorNum = num(ScriptError);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trace ScriptError: $(ErrorNum);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ErrorNum &amp;gt; 0 Then&lt;/P&gt;&lt;P&gt;&amp;nbsp; OLEDB CONNECT32 TO [Provider=MSDASQL.1;Persist Security Info=False;Data Source=MyTest2;Extended Properties="DSN=MyTest2;DBQ=C:\Temp\Database2.accdb;DriverId=25;FIL=MS Access;MaxBufferSize=2048;PageTimeout=5;"];&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Temp]:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Client&lt;/P&gt;&lt;P&gt;&amp;nbsp; , ID&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;&amp;nbsp; Client&lt;/P&gt;&lt;P&gt;&amp;nbsp; , ID&lt;/P&gt;&lt;P&gt;FROM TClient;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Cyrus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 08:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643981#M676820</guid>
      <dc:creator>telepuzik</dc:creator>
      <dc:date>2014-06-09T08:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Handling errors in OLEDB CONNECT</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643982#M676821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Cyrus! This is what I was looking for &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 10:00:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643982#M676821</guid>
      <dc:creator />
      <dc:date>2014-06-09T10:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Handling errors in OLEDB CONNECT</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643983#M676822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 10:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-errors-in-OLEDB-CONNECT/m-p/643983#M676822</guid>
      <dc:creator>telepuzik</dc:creator>
      <dc:date>2014-06-09T10:04:48Z</dc:date>
    </item>
  </channel>
</rss>

