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地址来作为最终使用的地址,这样就极大地缩短了连接时间.

  

人各有命,上天注定,有人天生为王,有人落草为寇。脚下的路,如果不是你自己的选择,那么旅程的终点在哪,也没人知道。你会走到哪,会遇到谁,都不一定。
原文地址:https://www.cnblogs.com/ZkbFighting/p/13924450.html