<?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 Data server is not available. How to exit script without error? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-server-is-not-available-How-to-exit-script-without-error/m-p/196723#M713384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try playing with ErrorMode variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;// Some logic you may have here&lt;BR /&gt;SET ErrorMode = 0;&lt;BR /&gt;Do your ODBC/OLEDB connection&lt;BR /&gt;Do your Selection&lt;BR /&gt;if ScriptError &amp;gt; 1 then&lt;BR /&gt; // Error handler&lt;BR /&gt; SET ErroreMode = 1;&lt;BR /&gt; exit script;&lt;BR /&gt;end if&lt;BR /&gt;SET ErroreMode = 1;&lt;BR /&gt;// Further processing&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;BR /&gt;Possible ScriptError values and it's description&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;1 No error&lt;BR /&gt;2 General Error&lt;BR /&gt;3 Syntax Error&lt;BR /&gt;4 General ODBC Error&lt;BR /&gt;5 General OLE DB Error&lt;BR /&gt;6 General XML Error&lt;BR /&gt;7 General HTML Error&lt;BR /&gt;8 File Not Found&lt;BR /&gt;9 Database Not Found&lt;BR /&gt;10 Table Not Found&lt;BR /&gt;11 Field Not Found&lt;BR /&gt;12 File Has Wrong Format&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt; &lt;BR /&gt;In your case, if SQL is not available, you should get either 4 or 5, depending on how your connection string is setup. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Sep 2010 19:37:17 GMT</pubDate>
    <dc:creator>disqr_rm</dc:creator>
    <dc:date>2010-09-13T19:37:17Z</dc:date>
    <item>
      <title>Data server is not available. How to exit script without error?</title>
      <link>https://community.qlik.com/t5/QlikView/Data-server-is-not-available-How-to-exit-script-without-error/m-p/196722#M713383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:WordDocument&gt;  &lt;w:View&gt;Normal&lt;/w:View&gt;  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;  &lt;w:TrackMoves&gt;&lt;/w:TrackMoves&gt;  &lt;w:TrackFormatting&gt;&lt;/w:TrackFormatting&gt;  &lt;w:DoNotShowRevisions&gt;&lt;/w:DoNotShowRevisions&gt;  &lt;w:DoNotPrintRevisions&gt;&lt;/w:DoNotPrintRevisions&gt;  &lt;w:DoNotShowMarkup&gt;&lt;/w:DoNotShowMarkup&gt;  &lt;w:DoNotShowComments&gt;&lt;/w:DoNotShowComments&gt;  &lt;w:DoNotShowInsertionsAndDeletions&gt;&lt;/w:DoNotShowInsertionsAndDeletions&gt;  &lt;w:DoNotShowPropertyChanges&gt;&lt;/w:DoNotShowPropertyChanges&gt;  &lt;w:HyphenationZone&gt;21&lt;/w:HyphenationZone&gt;  &lt;w:PunctuationKerning&gt;&lt;/w:PunctuationKerning&gt;  &lt;w:ValidateAgainstSchemas&gt;&lt;/w:ValidateAgainstSchemas&gt;  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;  &lt;w:DoNotPromoteQF&gt;&lt;/w:DoNotPromoteQF&gt;  &lt;w:LidThemeOther&gt;BG&lt;/w:LidThemeOther&gt;  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;  &lt;w:Compatibility&gt;   &lt;w:BreakWrappedTables&gt;&lt;/w:BreakWrappedTables&gt;   &lt;w:SnapToGridInCell&gt;&lt;/w:SnapToGridInCell&gt;   &lt;w:WrapTextWithPunct&gt;&lt;/w:WrapTextWithPunct&gt;   &lt;w:UseAsianBreakRules&gt;&lt;/w:UseAsianBreakRules&gt;   &lt;w:DontGrowAutofit&gt;&lt;/w:DontGrowAutofit&gt;   &lt;w:SplitPgBreakAndParaMark&gt;&lt;/w:SplitPgBreakAndParaMark&gt;   &lt;w:DontVertAlignCellWithSp&gt;&lt;/w:DontVertAlignCellWithSp&gt;   &lt;w:DontBreakConstrainedForcedTables&gt;&lt;/w:DontBreakConstrainedForcedTables&gt;   &lt;w:DontVertAlignInTxbx&gt;&lt;/w:DontVertAlignInTxbx&gt;   &lt;w:Word11KerningPairs&gt;&lt;/w:Word11KerningPairs&gt;   &lt;w:CachedColBalance&gt;&lt;/w:CachedColBalance&gt;  &lt;/w:Compatibility&gt;  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;m:mathPr&gt;   &lt;m:mathFont m:val="Cambria Math"&gt;&lt;/m:mathFont&gt;   &lt;m:brkBin m:val="before"&gt;&lt;/m:brkBin&gt;   &lt;m:brkBinSub m:val="&amp;#45;-"&gt;&lt;/m:brkBinSub&gt;   &lt;m:smallFrac m:val="off"&gt;&lt;/m:smallFrac&gt;   &lt;m:dispDef&gt;&lt;/m:dispDef&gt;   &lt;m:lMargin m:val="0"&gt;&lt;/m:lMargin&gt;   &lt;m:rMargin m:val="0"&gt;&lt;/m:rMargin&gt;   &lt;m:defJc m:val="centerGroup"&gt;&lt;/m:defJc&gt;   &lt;m:wrapIndent m:val="1440"&gt;&lt;/m:wrapIndent&gt;   &lt;m:intLim m:val="subSup"&gt;&lt;/m:intLim&gt;   &lt;m:naryLim m:val="undOvr"&gt;&lt;/m:naryLim&gt;  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"  DefSemiHidden="true" DefQFormat="false" DefPriority="99"  LatentStyleCount="267"&gt;  &lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Normal"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="heading 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 7"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 8"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 9"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Title"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Strong"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"   UnhideWhenUsed="false" Name="Table Grid"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Quote"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Book Title"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="37" Name="Bibliography"&gt;&lt;/w:LsdException&gt;  &lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"&gt;&lt;/w:LsdException&gt; &lt;/w:LatentStyles&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;&lt;style&gt; /* Style Definitions */ table.MsoNormalTable {mso-style-name:"???????? ???????"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}&lt;/style&gt;&lt;![endif]--&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Using VBScript I managed QV to reload data automatically on document opening. However, SQL server, where data resides, is not always available. How can I check availability before reloading or to interrupt the script with MsgBox("Server is not available", OK), without hanging up?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 10:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-server-is-not-available-How-to-exit-script-without-error/m-p/196722#M713383</guid>
      <dc:creator />
      <dc:date>2010-09-13T10:21:34Z</dc:date>
    </item>
    <item>
      <title>Data server is not available. How to exit script without error?</title>
      <link>https://community.qlik.com/t5/QlikView/Data-server-is-not-available-How-to-exit-script-without-error/m-p/196723#M713384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try playing with ErrorMode variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;// Some logic you may have here&lt;BR /&gt;SET ErrorMode = 0;&lt;BR /&gt;Do your ODBC/OLEDB connection&lt;BR /&gt;Do your Selection&lt;BR /&gt;if ScriptError &amp;gt; 1 then&lt;BR /&gt; // Error handler&lt;BR /&gt; SET ErroreMode = 1;&lt;BR /&gt; exit script;&lt;BR /&gt;end if&lt;BR /&gt;SET ErroreMode = 1;&lt;BR /&gt;// Further processing&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;BR /&gt;Possible ScriptError values and it's description&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;1 No error&lt;BR /&gt;2 General Error&lt;BR /&gt;3 Syntax Error&lt;BR /&gt;4 General ODBC Error&lt;BR /&gt;5 General OLE DB Error&lt;BR /&gt;6 General XML Error&lt;BR /&gt;7 General HTML Error&lt;BR /&gt;8 File Not Found&lt;BR /&gt;9 Database Not Found&lt;BR /&gt;10 Table Not Found&lt;BR /&gt;11 Field Not Found&lt;BR /&gt;12 File Has Wrong Format&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt; &lt;BR /&gt;In your case, if SQL is not available, you should get either 4 or 5, depending on how your connection string is setup. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 19:37:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-server-is-not-available-How-to-exit-script-without-error/m-p/196723#M713384</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-09-13T19:37:17Z</dc:date>
    </item>
    <item>
      <title>Data server is not available. How to exit script without error?</title>
      <link>https://community.qlik.com/t5/QlikView/Data-server-is-not-available-How-to-exit-script-without-error/m-p/196724#M713385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rakesh,&lt;/P&gt;&lt;P&gt;Thank You so much!&lt;/P&gt;&lt;P&gt;Here is a look of my script (beta version &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Set some_local_variables;&lt;BR /&gt;Set ErrorMode = 0;&lt;BR /&gt;ODBC CONNECT TO Database;&lt;BR /&gt;SQL SELECT Some, Fields FROM Table1;&lt;BR /&gt;STORE Table1 INTO Table1.qvd;&lt;BR /&gt;DROP Table1;&lt;BR /&gt;//The same with other tables.&lt;BR /&gt;Set ErrorMode = 1;&lt;BR /&gt;LOAD all_tables FROM qvd_files;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;This way I have data loaded from last successful connection with data server. At this time, I have two questions:&lt;/P&gt;&lt;P&gt;1. There is a timeout (45 sec.) at the beginning of the script. To reduce it, I could run "PING DataServer_IP_address" into VBScript and exit script if no answer, but I can't find the syntax of command;&lt;/P&gt;&lt;P&gt;2. Please suggest me a manual where I can read for this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You again!&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 09:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-server-is-not-available-How-to-exit-script-without-error/m-p/196724#M713385</guid>
      <dc:creator />
      <dc:date>2010-09-14T09:14:16Z</dc:date>
    </item>
    <item>
      <title>Data server is not available. How to exit script without error?</title>
      <link>https://community.qlik.com/t5/QlikView/Data-server-is-not-available-How-to-exit-script-without-error/m-p/196725#M713386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For your "ping" requirement, see enclosed app.&lt;/P&gt;&lt;P&gt;You can have this on "Open Document" trigger and based on the return variable value, you can continue with the script or not. I am sure some adjustments will be needed, but this will give you some ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 15:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-server-is-not-available-How-to-exit-script-without-error/m-p/196725#M713386</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-09-14T15:41:33Z</dc:date>
    </item>
    <item>
      <title>Data server is not available. How to exit script without error?</title>
      <link>https://community.qlik.com/t5/QlikView/Data-server-is-not-available-How-to-exit-script-without-error/m-p/196726#M713387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Wow!" and some pings was in my head when I saw your code &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I need some time to discover what happens. Thank you again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Sep 2010 12:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-server-is-not-available-How-to-exit-script-without-error/m-p/196726#M713387</guid>
      <dc:creator />
      <dc:date>2010-09-15T12:51:52Z</dc:date>
    </item>
  </channel>
</rss>

