开发者

SqlException timeout on GetConnection, but only from one node in a cluster

开发者 https://www.devze.com 2023-01-14 19:15 出处:网络
We have two nodes in a cluster. Both run an ASP.NET web application that connects to a database on another s开发者_运维问答erver. Node1 has no problems, but Node2 throws SqlExceptions, stating there\'

We have two nodes in a cluster. Both run an ASP.NET web application that connects to a database on another s开发者_运维问答erver. Node1 has no problems, but Node2 throws SqlExceptions, stating there's a timeout. The stacktrace shows me it's on DbConnectionPool.GetConnection.

I checked the versions of our DLLs, the web.config files, the connection strings, the MSDTC configuration on the nodes. All are identical.

Any ideas what could be the cause of this?


It appears the problem was hardware-related. Our client found a router with a hardware defect. After replacing that, all went well again.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号