dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.27k stars 5.9k forks source link

It should be a rather large note that the overall suggestion in this article breaks SQL OLEDB provider... #9577

Closed StingyJack closed 5 years ago

StingyJack commented 5 years ago

...which I bet is still seeing a fair amount of use. I read that it would break ODBC as well, but I dont use that and didnt try it.

To get around this if it happens to you, I have had success with installing the Sql Native Client for the correct OS version, and then changing the provider in the connection string from SQLOLEDB to SQLNACLIXX.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

karelz commented 5 years ago

What exactly breaks OLEDB? Maybe it is a bug that needs to be followed up upon.

StingyJack commented 5 years ago

It was not going to get support for TLS 1.2.

SQLOLEDB will not receive support for TLS 1.2. You will need to switch your driver to one of the supported drivers listed in https://support.microsoft.com/en-us/kb/3135244

From https://blogs.msdn.microsoft.com/sqlreleaseservices/tls-1-2-support-for-sql-server-2008-2008-r2-2012-and-2014/ image

I went looking again just now, and I've found "Yes it is possible", but this article wasnt available (or as easily findable) earlier this year when a customer provisioned a "new" Windows + SQL 2008R2 server with TLS 1.2 and FIPS enabled and I had to use the native client. Not a terrible workaround, but it required the installation of a component that wasn't present on a Validated System.