Share via

Getting below errors from the client side while coonecting to SQL On prem Server

Jeremy Edmond 1 Reputation point
2022-06-16T16:39:37.483+00:00

OLE DB provider "SQLNCLI11" for linked server "SQLAPP1" returned message "Communication link failure".
OLE DB provider "MSOLEDBSQL" for linked server "SQLAPP1" returned message "Protocol error in TDS stream".
TCP Provider: An existing connection was forcibly closed by the remote host.
(provider: SSL Provider, error: 0 - An existing connection was forcibly closed by the remote host.)

Azure SQL Database
Azure SQL Edge
Azure SQL Edge

An Azure service that provides a small-footprint, edge-optimized data engine with built-in artificial intelligence. Previously known as Azure SQL Database Edge.

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

0 comments No comments

2 answers

Sort by: Most helpful
  1. YufeiShao-msft 7,156 Reputation points
    2022-06-17T02:37:11.023+00:00

    Hi @Jeremy Edmond ,

    Protocol error in TDS stream

    When you encounter this error, it most likely means that corrupted driver installations or server physical network error
    You may consider reinstalling the driver and check your network hardware


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

  2. Alberto Morillo 35,506 Reputation points MVP Volunteer Moderator
    2022-06-16T18:06:54.59+00:00

    Please run the PowerShell script contained on this article. It has saved me of those Error 0 SSL connectivity errors a few times already.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.