SQL Server connection pool doesn't detect closed connections?

后端 未结 2 884
自闭症患者
自闭症患者 2021-02-07 05:15

For years, I\'ve experienced very weird problems on all my web applications that connect to a SQL server.

The problem is that if something happens to the database server

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-07 05:53

    We've seen the same problem from C++ using ADO. A few years ago, after working with Microsoft Support, we also implemented similar retry logic in the code and reset the connection pool which resolved the problem.

    If there is a better workaround the folks at Microsoft Support either didn't know it, or weren't sharing (At that time anyways).

提交回复
热议问题