Blog Post

Azure Database Support Blog
1 MIN READ

Lesson Learned #215: Hands-On-Labs: Communication link failed error message using ODBC.

Jose_Manuel_Jurado's avatar
Jul 04, 2022

We used to have cases where our customer faced the following error messages like following:

  • ERROR [08S01] [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: An existing connection was forcibly closed by the remote host.
  • ERROR [08S01] [Microsoft][ODBC Driver 17 for SQL Server]Communication link failure

In this video below we going to provide us some insights about it. 

 

Why this issue happens?

  • Application or network issue at client level that closed unexpectedly the connection to the database

 

How to find the issue?

  • Application Error messages: mainly followed by client driver names or protocols (ODBC/ TCP)

 

How to Fix the issue?

  • Look for network issues.
  • Check performance on target/application server
  • Implement the retry-logic at connection and command execution.

 

In this video we will cover scenarios causing error - Communication link failure

 

 

 

Enjoy!

Updated Jul 04, 2022
Version 3.0

1 Comment

  • Smithers's avatar
    Smithers
    Copper Contributor

    I'm surprised no one else commented on this but the frame freezes at 3 minutes and 6 seconds while the video timer continues with no audio. Was there supposed to be a guide about configuring the communication retry logic?