A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - 等待的操作过时。) 等待的操作过时

A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - 等待的操作过时。) 等待的操作过时

 

MultiSubnetFailover=true;
多个子网故障切换

Data Source=xxxx;pwd=xxxxx;uid=hub;database=ssssss;MultiSubnetFailover=true;
Data Source=wwwwww;Initial Catalog=wwwww;USER ID=wwww;Password=wwwwww;max pool size=512;Connect Timeout=720;MultiSubnetFailover=true;
ADO.NET(.NET 3.5.1)引入了MultiSubnetFailover关键字,如果MultiSubnetFailover
为True,那么客户端会同时尝试连接所有子网的IPAddress,使用最先响应的那个IP地址来作为最终使用的地址,这样就极大地缩短了连接时间.

  

posted @ 2020-11-04 10:07  ProZkb  阅读(2466)  评论(0编辑  收藏  举报