<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://www.xlayer.co.za/forum/extern.php?action=feed&amp;tid=154&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[SXI Forum / XLayer MSSQL Connector using Server Authentication]]></title>
		<link>https://www.xlayer.co.za/forum/viewtopic.php?id=154</link>
		<description><![CDATA[The most recent posts in XLayer MSSQL Connector using Server Authentication.]]></description>
		<lastBuildDate>Mon, 12 Jan 2026 19:49:54 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[XLayer MSSQL Connector using Server Authentication]]></title>
			<link>https://www.xlayer.co.za/forum/viewtopic.php?pid=236#p236</link>
			<description><![CDATA[<p>When using the Connection type MSSQL in the Connector, connecting to a MSSQL database server using SQL Server Authentication and you get the following ERROR:</p><p><em>ERROR - Connection failed for Connector &#039;MyLocal_MSSQL&#039; to server &#039;localhost&#039; for DataBase &#039;SomeDB&#039;. Error &#039;&quot;encrypt&quot; property is set to &quot;true&quot; and &quot;trustServerCertificate&quot; property is set to &quot;false&quot; but the driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption ......</em></p><p>Include the following properties in the Connector:<br /> 1. Property: <strong>encrypt</strong><br /> 2. Property: <strong>trustServerCertificate</strong></p><p>Here is an example:</p><div class="codebox"><pre><code>&lt;Connector id=&quot;MyLocal_MSSQL&quot;&gt;
  &lt;Connection xsi:type=&quot;MSSQL&quot;&gt;
     &lt;RetryDelay&gt;30&lt;/RetryDelay&gt;
     &lt;Server&gt;localhost&lt;/Server&gt;
     &lt;User&gt;User&lt;/User&gt;
     &lt;Password&gt;Password&lt;/Password&gt;
     &lt;DBName&gt;SomeDB&lt;/DBName&gt;
     &lt;Properties&gt;
       &lt;Property name=&quot;encrypt&quot; value=&quot;false&quot;/&gt;
       &lt;Property name=&quot;trustServerCertificate&quot; value=&quot;true&quot;/&gt;
     &lt;/Properties&gt;
     &lt;Port&gt;1433&lt;/Port&gt;
  &lt;/Connection&gt;
  &lt;ReturnCodes&gt;
    &lt;Success /&gt;
    &lt;DefaultError type=&quot;Non-Recoverable&quot;&gt;
       &lt;ExceptionCodes&gt;
         &lt;Code&gt;^.*I/O Error.*$&lt;/Code&gt;
         &lt;Code&gt;^.*Timeout occurred.*$&lt;/Code&gt;
         &lt;Code&gt;.+Read timed out.+&lt;/Code&gt;
         &lt;Code&gt;.*Invalid state.+&lt;/Code&gt;
         &lt;Code&gt;.*SHUTDOWN is in progress.+&lt;/Code&gt;
        &lt;/ExceptionCodes&gt;
    &lt;/DefaultError&gt;
  &lt;/ReturnCodes&gt;
&lt;/Connector&gt;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (StephanB)]]></author>
			<pubDate>Mon, 12 Jan 2026 19:49:54 +0000</pubDate>
			<guid>https://www.xlayer.co.za/forum/viewtopic.php?pid=236#p236</guid>
		</item>
	</channel>
</rss>
