SQLOLDB version 19 driver not connected database SQL 2016 version.

  • HI.

    Destination DB version SQL 2016, So application does not able to connect database. connection string using Provider=sqloledb;

    Error:

    ConStatus Error [DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error.

    Destination DB server windows 2019 version and TLS 1.0 client by default disabled, So I made it enabled as below location in registry setting but not hope and not resolving issues.

    'HKLM:SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Client' -Name 'Enabled' -value '00000001'

    Thanks

  • Is this a question or just a comment? What do you need?

  • Error:

    ConStatus Error [DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error.

    In Application server does not connected to database server due to SQLOLDB driver, how to resolve this error?

    Please suggest.

    Thanks

     

  • Are you sure it's the driver causing the issue, rather than the deprecated TLS protocol? You should probably be aiming to use TLS 1.2.

    The absence of evidence is not evidence of absence
    - Martin Rees
    The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
    - Phil Parkin

  • SQLOLEDB does not support TLS1.2.

    so you need to ensure there is a common protocol on both client and server which can be used is you must use that driver (TLS1.0).

     

    Secondly that driver has been deprecated for decades now (went into depreciation in SQL 2005)

    Upgrade the driver to msoledbsql for TLS1.2 support.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply