<?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: SQL Server connection error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/2137875#M1250432</link>
    <description>&lt;P&gt;Would this be a solution ?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/46011694/does-microsoft-ole-db-provider-for-sql-server-support-tls-1-2" target="_blank"&gt;oledb - Does Microsoft OLE DB Provider for SQL Server support TLS 1.2 - Stack Overflow&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Nov 2023 07:37:37 GMT</pubDate>
    <dc:creator>MrBruno</dc:creator>
    <dc:date>2023-11-15T07:37:37Z</dc:date>
    <item>
      <title>SQL Server connection error</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1305195#M1250424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have 2 QDS nodes, One is working fine with SQL server connection and other throws the following error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have completely check the Drivers, registry settings, MMC certificates and all look similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on this please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2017-06-02: 0019&amp;nbsp; OLEDB CONNECT*Provider*&lt;/P&gt;&lt;P&gt;2017-06-02:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: ErrorSource: Microsoft OLE DB Provider for SQL Server, ErrorMsg: [DBNETLIB][ConnectionOpen (SECCreateCredentials()).]SSL Security error.&lt;/P&gt;&lt;P&gt;2017-06-02:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; General Script Error&lt;/P&gt;&lt;P&gt;2017-06-02:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution Failed&lt;/P&gt;&lt;P&gt;2017-06-02:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution finished.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1305195#M1250424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server connection error</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1305196#M1250425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Were you able to figure this out?&amp;nbsp; We are getting the same error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 19:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1305196#M1250425</guid>
      <dc:creator>beth_lavey</dc:creator>
      <dc:date>2017-10-20T19:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server connection error</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1305197#M1250426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, the problem was that TLS 1.0 was disabled, and the cipher suite was limited to 16 ciphers as recommended by Microsoft.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;enabled 1.0, and added 3 additional (legacy) ciphers to the list.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 19:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1305197#M1250426</guid>
      <dc:creator>beth_lavey</dc:creator>
      <dc:date>2017-10-20T19:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server connection error</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1305198#M1250427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same issue, but I found a workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have to disable TLS 1.0 for PCI compliance. I was very surprised to do my usual TLS "hardening" setup only to find out that existing, working database connections no longer worked. And I did &lt;STRONG&gt;not&lt;/STRONG&gt; setup the connections' OLEDB provider (64-bit) to the to use encrypted TDS, so I'm guessing perhaps Qlik's code is forcing it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I found is that you only have to leave TLS 1.0 enabled for "Client" (outbound) connections. E.g. in a .reg file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: andale\ mono, times;"&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\Schannel\Protocols\TLS 1.0]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale\ mono, times; font-size: 8pt;"&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\Schannel\Protocols\TLS 1.0\Client]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: andale\ mono, times;"&gt;"Enabled"=dword:00000001&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can disable the "Server" counterpart. Yes, that means that the Sql Server you're connecting to is going to need to have TLS 1.0 (Server) enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh, and in my case, I'm running Qlik Sense (April 2018 - 12.16.1) on Windows Server 2016 Standard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully, the folks at Qlik can figure out how to allow for TLS 1.2 in the near future, since the OS has supported it since Windows 2008 R2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 01:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1305198#M1250427</guid>
      <dc:creator>grangerats</dc:creator>
      <dc:date>2018-04-20T01:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server connection error</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1305199#M1250428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I figured it out (I think).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SQLOLEDB provider itself does not support anything better than TLS 1.0, nor will it ever ( &lt;A href="https://stackoverflow.com/a/46012912/530545" title="https://stackoverflow.com/a/46012912/530545"&gt;oledb - Does Microsoft OLE DB Provider for SQL Server support TLS 1.2 - Stack Overflow&lt;/A&gt; ). I'm going to presume that since that provider is legacy/deprecated, everyone should stop using it as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't recall the UI before 2018, but in the April 2018 release has a new (to me) way to choose the connection's provider. For Sql Server, you can choose between "Microsoft SQL Server", "ODBC", and "OLE DB". When you choose "Microsoft SQL Server", your connection string ends up something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: andale\ mono, times;"&gt;CUSTOM CONNECT TO "provider=QvOdbcConnectorPackage.exe;driver=mssql;host={host};port={port};database={dbCatalog};Encrypt=false;TrustServerCertificate=false;Trusted_Connection=false;EnableQuotedIdentifiers=1;ReturnSpecificTypeAsOdbcType=yes;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my plan is to change all of my existing data connections to use the new (to me, at least) driver. I'll then expect to be able to disable TLS 1.0 completely.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 20:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1305199#M1250428</guid>
      <dc:creator>grangerats</dc:creator>
      <dc:date>2018-04-20T20:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server connection error</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1665940#M1250429</link>
      <description>&lt;P&gt;whats the work around if you are on older version of QlikView how can you connect?&amp;nbsp; I don't see option of MS SQL Server as an option. we are on version 12.10 SR8&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 18:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1665940#M1250429</guid>
      <dc:creator>Troy1</dc:creator>
      <dc:date>2020-01-15T18:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server connection error</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1789282#M1250430</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Addendum&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We (still) cannot use the QvOdbcConnectorPackage.exe (driver=mssql) due to the &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Data-Connectivity/Sql-Temp-Tables-in-June2019-13-32-2-release-don-t-work-anymore/m-p/1633750/highlight/true#M4471" target="_self"&gt;horrible &lt;STRONG&gt;breaking&lt;/STRONG&gt; change Qlik introduced years ago (and still has &lt;STRONG&gt;no workaround&lt;/STRONG&gt; that I'm aware of)&lt;/A&gt;.&amp;nbsp; We continue to be forced to use SQLOLEDB&amp;nbsp; for connections between QlikSense and MS Sql Server. (Which means Qlik has to have TLS 1.0 Client enabled and the database server needs TLS 1.0 Server enabled in the Windows registry.)&lt;/P&gt;&lt;P&gt;But QlikSense's problems go deeper. Recently, a security audit revealed that there are a set of cipher suites used in TLS 1.2 that are now considered "weak". However, disabling them all caused our data-loading tasks to fail. After a lot of testing, I discovered that the at least one of the following 2 ciphers are required when you use SQLOLEDB in QlikSense (so you need to leave at least one of them enabled on &lt;STRONG&gt;both&lt;/STRONG&gt; the QlikSense and database servers):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;TLS_RSA_WITH_AES_256_CBC_SHA&lt;/LI&gt;&lt;LI&gt;TLS_RSA_WITH_AES_128_CBC_SHA&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Until Qlik acknowledges &lt;STRONG&gt;and corrects &lt;/STRONG&gt;the horrible architecture failures they introduced with the QvOdbcConnectorPackage.exe (not just isolated to MS Sql Server), I don't know how people even could possibly use that driver in an Enterprise-level ETL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 16:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/1789282#M1250430</guid>
      <dc:creator>grangerats</dc:creator>
      <dc:date>2021-03-08T16:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server connection error</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/2117929#M1250431</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;Is there any folowing up by Qlik.&lt;/P&gt;
&lt;P&gt;Due to company policy We need to disable TLS1.0 on our Qliksense servers.&lt;/P&gt;
&lt;P&gt;How every when we disable TLS1.0 on the Clint server, the OLEDB connection to the sql server (version 2022).&lt;/P&gt;
&lt;P&gt;we got this error.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Error: Connector connect error: IDataInitialize::GetDataSource. HRESULT = 80004005. ErrorSource: Microsoft OLE DB Provider for SQL Server, ErrorMsg: [DBNETLIB][ConnectionOpen (SECCreateCredentials()).]SSL Security error.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Execution Failed&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Execution finished.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The dataconnection uses Microssoft OLEDB.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 14:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/2117929#M1250431</guid>
      <dc:creator>Jio</dc:creator>
      <dc:date>2023-09-18T14:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server connection error</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/2137875#M1250432</link>
      <description>&lt;P&gt;Would this be a solution ?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/46011694/does-microsoft-ole-db-provider-for-sql-server-support-tls-1-2" target="_blank"&gt;oledb - Does Microsoft OLE DB Provider for SQL Server support TLS 1.2 - Stack Overflow&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 07:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/2137875#M1250432</guid>
      <dc:creator>MrBruno</dc:creator>
      <dc:date>2023-11-15T07:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server connection error</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/2138110#M1250433</link>
      <description>&lt;P&gt;This can be a solution but only you don't have other apps that use TLS1.0.&lt;/P&gt;
&lt;P&gt;You can also use&amp;nbsp;SQL server connection instead of MS OLEDB. This omit the check of TLS - versions.&lt;/P&gt;
&lt;P&gt;try using: [&amp;nbsp;CUSTOM CONNECT TO "provider=QvOdbcConnectorPackage.exe;driver=mssql;xxxxx]&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This solves our problems.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 15:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Server-connection-error/m-p/2138110#M1250433</guid>
      <dc:creator>Jio</dc:creator>
      <dc:date>2023-11-15T15:29:13Z</dc:date>
    </item>
  </channel>
</rss>

