<?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 Unable to connect to MS SQL Server in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Unable-to-connect-to-MS-SQL-Server/m-p/2086885#M2074</link>
    <description>&lt;P&gt;We are attempting to connect to the same MS SQL Server in an application automation that we already connect to in the Qlik Cloud Analytics side.&amp;nbsp; We receive the following error:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;DIV class="json-header" data-v-05a469cc=""&gt;
&lt;DIV class="json-key" data-v-05a469cc="" data-testid="json-viewer-key"&gt;&lt;STRONG&gt;error:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="json-value" data-v-05a469cc=""&gt;&lt;STRONG&gt;SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL Server]TCP Provider: Error code 0x2746 &lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class="json-value" data-v-05a469cc=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI class="json-value"&gt;&lt;SPAN data-v-05a469cc=""&gt;This is using the built in "Microsoft SQL Server" connection in Application Automation, then evaluating with a "Do query" block in an automation&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="json-value"&gt;&lt;SPAN data-v-05a469cc=""&gt;We are using the same IP and port as our connection on the analytics side&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="json-value"&gt;&lt;SPAN data-v-05a469cc=""&gt;Same username, password, database name, and encryption settings (no encryption)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="json-value"&gt;&lt;SPAN data-v-05a469cc=""&gt;TCP/IP is configured on the SQL Server and configured to port 1433&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="json-value"&gt;&lt;SPAN data-v-05a469cc=""&gt;TLS 1.2 is configured (we have also successfully tested connection from analytics side with TLS 1.2)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="json-value"&gt;&lt;SPAN data-v-05a469cc=""&gt;We have whitelisted incoming 1433 traffic on the SQL Server from incoming IPs mentioned in this documentation: &lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Introduction/qlik-cloud-dns-ip.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Introduction/qlik-cloud-dns-ip.htm&lt;/A&gt;&amp;nbsp;(We know we got the right ones because before doing this, we were receiving a login timeout, now we get the above error almost immediately after triggering automation)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN data-v-05a469cc=""&gt;When Googling the error code, all signs point to either TLS 1.2, TCP/IP configuration in SQL Server, or credential issues.&amp;nbsp; We have eliminated all these factors, yet it seems that the exact same values work in a SQL connection on the analytics side but not on the automation side.&amp;nbsp; Is there anything else we can check?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 15:02:36 GMT</pubDate>
    <dc:creator>matthewharrison</dc:creator>
    <dc:date>2023-06-22T15:02:36Z</dc:date>
    <item>
      <title>Unable to connect to MS SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Unable-to-connect-to-MS-SQL-Server/m-p/2086885#M2074</link>
      <description>&lt;P&gt;We are attempting to connect to the same MS SQL Server in an application automation that we already connect to in the Qlik Cloud Analytics side.&amp;nbsp; We receive the following error:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;DIV class="json-header" data-v-05a469cc=""&gt;
&lt;DIV class="json-key" data-v-05a469cc="" data-testid="json-viewer-key"&gt;&lt;STRONG&gt;error:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="json-value" data-v-05a469cc=""&gt;&lt;STRONG&gt;SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL Server]TCP Provider: Error code 0x2746 &lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class="json-value" data-v-05a469cc=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI class="json-value"&gt;&lt;SPAN data-v-05a469cc=""&gt;This is using the built in "Microsoft SQL Server" connection in Application Automation, then evaluating with a "Do query" block in an automation&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="json-value"&gt;&lt;SPAN data-v-05a469cc=""&gt;We are using the same IP and port as our connection on the analytics side&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="json-value"&gt;&lt;SPAN data-v-05a469cc=""&gt;Same username, password, database name, and encryption settings (no encryption)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="json-value"&gt;&lt;SPAN data-v-05a469cc=""&gt;TCP/IP is configured on the SQL Server and configured to port 1433&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="json-value"&gt;&lt;SPAN data-v-05a469cc=""&gt;TLS 1.2 is configured (we have also successfully tested connection from analytics side with TLS 1.2)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="json-value"&gt;&lt;SPAN data-v-05a469cc=""&gt;We have whitelisted incoming 1433 traffic on the SQL Server from incoming IPs mentioned in this documentation: &lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Introduction/qlik-cloud-dns-ip.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Introduction/qlik-cloud-dns-ip.htm&lt;/A&gt;&amp;nbsp;(We know we got the right ones because before doing this, we were receiving a login timeout, now we get the above error almost immediately after triggering automation)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN data-v-05a469cc=""&gt;When Googling the error code, all signs point to either TLS 1.2, TCP/IP configuration in SQL Server, or credential issues.&amp;nbsp; We have eliminated all these factors, yet it seems that the exact same values work in a SQL connection on the analytics side but not on the automation side.&amp;nbsp; Is there anything else we can check?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 15:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Unable-to-connect-to-MS-SQL-Server/m-p/2086885#M2074</guid>
      <dc:creator>matthewharrison</dc:creator>
      <dc:date>2023-06-22T15:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to MS SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Unable-to-connect-to-MS-SQL-Server/m-p/2087699#M2083</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/183117"&gt;@matthewharrison&lt;/a&gt;&lt;/SPAN&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, the error codes points indeed to either TLS 1,2, SQL Server configuration or credential issues. Since you have tried to fix these potential errors and still not been able to connect, I would suggest you open a case in our caseportal or via a live chat agent. You can do this here:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/crmsupport/page." target="_blank"&gt;https://community.qlik.com/t5/crmsupport/page.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tony&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 09:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Unable-to-connect-to-MS-SQL-Server/m-p/2087699#M2083</guid>
      <dc:creator>Tony7</dc:creator>
      <dc:date>2023-06-26T09:53:25Z</dc:date>
    </item>
  </channel>
</rss>

