GetConnection 上的 SqlException 超时,但仅来自集群中的一个节点

发布于 2024-09-18 00:48:22 字数 232 浏览 4 评论 0原文

我们的集群中有两个节点。两者都运行连接到另一台服务器上的数据库的 ASP.NET Web 应用程序。 Node1 没有问题,但 Node2 抛出 SqlExceptions,指出超时。堆栈跟踪显示它位于 DbConnectionPool.GetConnection 上。

我检查了 DLL 的版本、web.config 文件、连接字符串、节点上的 MSDTC 配置。一切都是相同的。

有什么想法可能是什么原因造成的吗?

We have two nodes in a cluster. Both run an ASP.NET web application that connects to a database on another server. 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

两人的回忆 2024-09-25 00:48:22

看来问题与硬件有关。我们的客户发现路由器存在硬件缺陷。更换后,一切又恢复正常了。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文