<?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 TSL 1.2 and OLE DB Connection not working in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/TSL-1-2-and-OLE-DB-Connection-not-working/m-p/2499416#M14428</link>
    <description>&lt;P&gt;Hi Everyone.&lt;/P&gt;
&lt;P&gt;Database system department has changed the database server and they have passed from a TLS 1.0/1.1 to a TLS 1.2 one.&lt;/P&gt;
&lt;P&gt;We are working with a QS Enterprise august 2023 (supported version) and a OLE DB connection (Microsoft OLE DB provider for SQL Server) in a Windows 2016 server.&lt;/P&gt;
&lt;P&gt;We have tried all possible kinds of OLE DB connectors QS offers but no one is working (connection errors) even if:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;We have created the regedit folders to enable the TLS 1.2 protocol (&lt;A href="https://365cloudit.com/how-to-enable-tls-1-2/#:~:text=Step%20A%3A%20Press%20Windows%20%2B%20R%20to%20open,SecurityProviders%20%3E%20SCHANNEL%20%3E%20Protocols%20%3E%20TLS%201.2" target="_blank" rel="noopener"&gt;How to Check and Enable TLS 1.2 - 365 CloudIT&lt;/A&gt;).&lt;/LI&gt;
&lt;LI&gt;We have installed the OLE DB Driver for SQL Server (&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/OLEDB-Connection-not-working-with-TLS-1-2/ta-p/1717492" target="_blank" rel="noopener"&gt;OLEDB Connection not working with TLS 1.2 - Qlik Community - 1717492&lt;/A&gt;).&lt;/LI&gt;
&lt;LI&gt;We have tried to create a Microsoft SQL Server connection, cause it allows to set a TLS 1.2 protocol; it's connecting but we can't use this kind of connection due to different data formats that are generating lots of errors (especially date formats in conditions).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;DB system department has temporary enabled the TLS 1.0, so QS connection is now working but for security rules we have to pass to a TLS 1.2.&lt;/P&gt;
&lt;P&gt;Next step we want to try is migrating our QS to a Windows 22 server, in order to create a PRE environment.&lt;/P&gt;
&lt;P&gt;We are looking for more suggestions, before migrating QS (even if we are aware that creating a PRE environment is necessary).&lt;/P&gt;
&lt;P&gt;Thanks in advance. Regards,&lt;/P&gt;
&lt;P&gt;Alice B.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Dec 2024 08:52:32 GMT</pubDate>
    <dc:creator>AliceB</dc:creator>
    <dc:date>2024-12-27T08:52:32Z</dc:date>
    <item>
      <title>TSL 1.2 and OLE DB Connection not working</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/TSL-1-2-and-OLE-DB-Connection-not-working/m-p/2499416#M14428</link>
      <description>&lt;P&gt;Hi Everyone.&lt;/P&gt;
&lt;P&gt;Database system department has changed the database server and they have passed from a TLS 1.0/1.1 to a TLS 1.2 one.&lt;/P&gt;
&lt;P&gt;We are working with a QS Enterprise august 2023 (supported version) and a OLE DB connection (Microsoft OLE DB provider for SQL Server) in a Windows 2016 server.&lt;/P&gt;
&lt;P&gt;We have tried all possible kinds of OLE DB connectors QS offers but no one is working (connection errors) even if:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;We have created the regedit folders to enable the TLS 1.2 protocol (&lt;A href="https://365cloudit.com/how-to-enable-tls-1-2/#:~:text=Step%20A%3A%20Press%20Windows%20%2B%20R%20to%20open,SecurityProviders%20%3E%20SCHANNEL%20%3E%20Protocols%20%3E%20TLS%201.2" target="_blank" rel="noopener"&gt;How to Check and Enable TLS 1.2 - 365 CloudIT&lt;/A&gt;).&lt;/LI&gt;
&lt;LI&gt;We have installed the OLE DB Driver for SQL Server (&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/OLEDB-Connection-not-working-with-TLS-1-2/ta-p/1717492" target="_blank" rel="noopener"&gt;OLEDB Connection not working with TLS 1.2 - Qlik Community - 1717492&lt;/A&gt;).&lt;/LI&gt;
&lt;LI&gt;We have tried to create a Microsoft SQL Server connection, cause it allows to set a TLS 1.2 protocol; it's connecting but we can't use this kind of connection due to different data formats that are generating lots of errors (especially date formats in conditions).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;DB system department has temporary enabled the TLS 1.0, so QS connection is now working but for security rules we have to pass to a TLS 1.2.&lt;/P&gt;
&lt;P&gt;Next step we want to try is migrating our QS to a Windows 22 server, in order to create a PRE environment.&lt;/P&gt;
&lt;P&gt;We are looking for more suggestions, before migrating QS (even if we are aware that creating a PRE environment is necessary).&lt;/P&gt;
&lt;P&gt;Thanks in advance. Regards,&lt;/P&gt;
&lt;P&gt;Alice B.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 08:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/TSL-1-2-and-OLE-DB-Connection-not-working/m-p/2499416#M14428</guid>
      <dc:creator>AliceB</dc:creator>
      <dc:date>2024-12-27T08:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: TSL 1.2 and OLE DB Connection not working</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/TSL-1-2-and-OLE-DB-Connection-not-working/m-p/2499425#M14429</link>
      <description>&lt;P&gt;Hi Alice! Before proceeding with the migration to a Windows Server 2022 environment you can try some steps&lt;/P&gt;
&lt;P&gt;Firstly I would ensure that your server 2016 has all the necessary updates to fully support TLS 1.2. Specifically:&lt;/P&gt;
&lt;P&gt;Install the latest Cumulative Updates for Windows Server 2016. (&lt;A href="https://www.catalog.update.microsoft.com/Search.aspx?q=Cumulative%20Windows%20Server%202016" target="_blank" rel="noopener"&gt;https://www.catalog.update.microsoft.com/&lt;/A&gt;)&lt;BR /&gt;Confirm that the following registry keys are set properly for enabling TLS 1.2:&lt;BR /&gt;H K L M\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2&lt;BR /&gt;Client: Enabled = 1, DisabledByDefault = 0&lt;BR /&gt;Server: Enabled = 1, DisabledByDefault = 0&lt;BR /&gt;Restart the server after changes.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Then MS offers a dedicated OLE DB driver that is optimized for modern SQL Server features, including TLS 1.2. Follow these steps:&lt;/P&gt;
&lt;P&gt;Install the latest Microsoft OLE DB Driver for SQL Server on your QS server. (&lt;A href="https://learn.microsoft.com/en-us/sql/connect/oledb/oledb-driver-for-sql-server?view=sql-server-ver15=" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/sql/connect/oledb/oledb-driver-for-sql-server?view=sql-server-ver15=&lt;/A&gt;&lt;BR /&gt;Update the connection string in Qlik Sense to use the new driver.&lt;/P&gt;
&lt;P&gt;Use a connection string like:&lt;/P&gt;
&lt;P&gt;Provider=MSOLEDBSQL;Server=your_server_name;Database=your_database_name;Trusted_Connection=Yes;Encrypt=Yes;TrustServerCertificate=No;&lt;/P&gt;
&lt;P&gt;Ensure the Encrypt=Yes parameter is specified, as it enforces TLS encryption.&lt;/P&gt;
&lt;P&gt;If the OLE DB driver doesn't work, consider using the ODBC driver for SQL Server:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver15" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver15&lt;/A&gt;&lt;BR /&gt;Test the ODBC connection in Qlik Sense to see if it resolves the TLS 1.2 compatibility&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 09:51:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/TSL-1-2-and-OLE-DB-Connection-not-working/m-p/2499425#M14429</guid>
      <dc:creator>diegozecchini</dc:creator>
      <dc:date>2024-12-27T09:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: TSL 1.2 and OLE DB Connection not working</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/TSL-1-2-and-OLE-DB-Connection-not-working/m-p/2499429#M14430</link>
      <description>&lt;LI-SPOILER&gt;Hi, &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/82758"&gt;@diegozecchini&lt;/a&gt;.&lt;BR /&gt;Thanks for your exhaustive answer.&lt;BR /&gt;&lt;BR /&gt;We have tried that string connection, even if we've missed the "T&lt;SPAN&gt;rustServerCertificate=No;" so we will try it again after updating&amp;nbsp;Microsoft OLE DB Driver for SQL Server from the link you've sent.&lt;BR /&gt;&lt;BR /&gt;I'll keep you posted.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Alice B.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Fri, 27 Dec 2024 10:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/TSL-1-2-and-OLE-DB-Connection-not-working/m-p/2499429#M14430</guid>
      <dc:creator>AliceB</dc:creator>
      <dc:date>2024-12-27T10:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: TSL 1.2 and OLE DB Connection not working</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/TSL-1-2-and-OLE-DB-Connection-not-working/m-p/2499480#M14431</link>
      <description>&lt;P&gt;ok, let me know, regards, Diego&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 17:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/TSL-1-2-and-OLE-DB-Connection-not-working/m-p/2499480#M14431</guid>
      <dc:creator>diegozecchini</dc:creator>
      <dc:date>2024-12-27T17:42:23Z</dc:date>
    </item>
  </channel>
</rss>

