Application crashed on MS SQL ODBC driver

Repkin Dmitry 11 Reputation points

We have an application that communicate with MS SQL Server.

The issue appeared in case of communication failure. We are trying to recover connection but application crashed in MS ODBC driver code:

Stack trace:

> msvcr120.dll!abort() Line 88 C
msvcr120.dll!_purecall() Line 59 C
msodbcsql13.dll!ConnectionRecoveryManager::Recover(void) Unknown
msodbcsql13.dll!ConnectionRecoveryManager::RecoverThreadRoutine(void *) Unknown
ntdll.dll!RtlpTpWorkCallback() Unknown
ntdll.dll!TppWorkerThread() Unknown
kernel32.dll!BaseThreadInitThunk() Unknown
ntdll.dll!RtlUserThreadStart() Unknown

How to resolve this issue?

SQL driver version: 2017.0140.1000.169

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,122 questions
{count} votes

2 answers

Sort by: Most helpful
  1. CathyJi-MSFT 21,111 Reputation points Microsoft Vendor

    Hi @Repkin Dmitry ,

    Please share us the error message from the SQL server error log for analysis.

    What is the SQL server version? Please using select @@version to check this.

  2. Erland Sommarskog 104.2K Reputation points MVP

    I think I've found the solution for you. I believe that this problem can be solved with connection resiliency. Take a look here:

    I have not checked in which version of the ODBC driver this was implemented, so you may have to upgrade.

    0 comments No comments