SQL SERVER提示pre-login handshake failed错误的一种解决方法。
2024-10-21 03:43:00
昨天在客户那里,遇到一个奇怪的问题。程序直接运行的时候,可以正常连接SQL SERVER; 但是使用Web Service连接SQL SERVER的时候,出现了下面的错误信息:
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 was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=4683; handshake=3499; (InnerException:The wait operation timed out)
程序可以运行,说明SQL SERVER是正常的。当我关闭firewall以后,这个问题仍然存在,所以应该不是firewall阻止了访问。
设置的SQL SERVER的host为127.0.0.1, 后来修改为. Web Service就能够正常连接了。
最新文章
- Android中TextView setText int 报错
- HTML5网页打开摄像头,并拍照
- CORBA IOR学习
- nvm
- iOS7 中的新加入的下载类NSURLSession(随ios版本更新而更新)
- Redstone 云观象台 服务器部署 - Nginx配置文件
- 继承UIView的子控件添加点击事件
- javascript language
- Mongodb 监测
- Array方面Js底层代码学习记录
- Js 浅克隆详解
- BBS论坛(十四)
- 构建工具build tools
- <;操作系统>;进程和线程
- Xpath做数据解析
- mac系统下安装Composer和laravel
- django添加装饰器
- JVM技术周报第1期
- 如何设置Eclipse使用JDK
- cocos2d-x 键盘和鼠标事件
热门文章
- angular 引入服务报错global is not defined----angular11引入service报错Can&#39;t resolve &#39;@core/net/aa/aa.service&#39; in &#39;D:\pro&#39;
- 电脑本地安装不同版本MySQL
- freeswitch号码黑名单
- day01-SpringMVC基本介绍-01
- 结对项目总结 -- 基于Qt开发的win10桌面应用
- DaemonSet方式部署nginx-ingress
- Mybatis数据库批量操作
- Jenkins CLI命令行
- 《Terraform 101 从入门到实践》 Terraform在公有云GCP上的应用
- 软赢软件控制器在Zstack云主机实现电机控制的方法