<?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 How to prevent the popup of alert window (&amp;quot;Microsoft SQL Server Login&amp;quot;) when SQL connection failed in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-prevent-the-popup-of-alert-window-quot-Microsoft-SQL/m-p/670047#M85804</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Try(
	batch interactive(1);
	dbc = Create Database Connection("Driver={SQL Server};Server=xx.xxx.x.xx;Database=testDB;UID=test;PWD=test;");
	batch interactive(0);
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If the SQL DB connection through JSL code fails (due to the network issue), the following window appears and exposing the server address to users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sol_0-1692671549241.png" style="width: 331px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55900iE88F92064AB5FECA/image-dimensions/331x201?v=v2" width="331" height="201" role="button" title="Sol_0-1692671549241.png" alt="Sol_0-1692671549241.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sol_1-1692671577413.png" style="width: 327px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55903iC3DC7E56CB185DD9/image-dimensions/327x145?v=v2" width="327" height="145" role="button" title="Sol_1-1692671577413.png" alt="Sol_1-1692671577413.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I encrypt the JSL code before deploying it since I don't want the server address to be exposed to users. However, if I cannot hide that window, encrypting the code becomes pointless :(&lt;/img&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2023 02:45:34 GMT</pubDate>
    <dc:creator>Sol</dc:creator>
    <dc:date>2023-08-22T02:45:34Z</dc:date>
    <item>
      <title>How to prevent the popup of alert window ("Microsoft SQL Server Login") when SQL connection failed</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-prevent-the-popup-of-alert-window-quot-Microsoft-SQL/m-p/670047#M85804</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Try(
	batch interactive(1);
	dbc = Create Database Connection("Driver={SQL Server};Server=xx.xxx.x.xx;Database=testDB;UID=test;PWD=test;");
	batch interactive(0);
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If the SQL DB connection through JSL code fails (due to the network issue), the following window appears and exposing the server address to users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sol_0-1692671549241.png" style="width: 331px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55900iE88F92064AB5FECA/image-dimensions/331x201?v=v2" width="331" height="201" role="button" title="Sol_0-1692671549241.png" alt="Sol_0-1692671549241.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sol_1-1692671577413.png" style="width: 327px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55903iC3DC7E56CB185DD9/image-dimensions/327x145?v=v2" width="327" height="145" role="button" title="Sol_1-1692671577413.png" alt="Sol_1-1692671577413.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I encrypt the JSL code before deploying it since I don't want the server address to be exposed to users. However, if I cannot hide that window, encrypting the code becomes pointless :(&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 02:45:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-prevent-the-popup-of-alert-window-quot-Microsoft-SQL/m-p/670047#M85804</guid>
      <dc:creator>Sol</dc:creator>
      <dc:date>2023-08-22T02:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent the popup of alert window ("Microsoft SQL Server Login") when SQL connection failed</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-prevent-the-popup-of-alert-window-quot-Microsoft-SQL/m-p/670147#M85809</link>
      <description>&lt;P&gt;These dialogs are coming from the ODBC driver manager / SQL Server interaction, and are out of JMP's control.&amp;nbsp; You might try searching on SQL Server connection parameters to see if these can be suppressed.&amp;nbsp; There is one article that suggests adding the following to the SQL Server connection string, but this is typically more for password prompts than error messages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ConnectOption='SQL_DRIVER_CONNECT,SQL_DRIVER_NOPROMPT'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brian Corcoran&lt;/P&gt;
&lt;P&gt;JMP Development&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 12:28:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-prevent-the-popup-of-alert-window-quot-Microsoft-SQL/m-p/670147#M85809</guid>
      <dc:creator>briancorcoran</dc:creator>
      <dc:date>2023-08-22T12:28:29Z</dc:date>
    </item>
  </channel>
</rss>

