我将 Visual Studio 2015 与 sql server 2012 一起使用,
我尝试使用 Windows 身份验证连接到服务器,但出现如下错误消息:
connection timeout expired. the timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. this could be because the pre login handshake failed or the server unable to respond back in time. the duration spent while attempting to connect to this server was inistilization=13482 handshake=14519.
我已经尝试过:
有没有我没有检查的其他解决方案?请告诉我...
最佳答案
我已经想通了,
显然,我们系统上的子网太多了
我们使用防火墙上的规则将我的 IP 与具有特定端口 (1433) 的服务器 IP 直接连接。现在一切正常。
谢谢大家的帮助。
关于sql-server - 连接超时已过期。尝试使用登录前握手确认时超时时间已过,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38435445/