SqlException:ConnectionTimeout Expired. The timeout period elapsed during the post-login phase

linux系统部署.netcore程序后,访问某台sqlserver 2008 R2数据库

Connection Timeout Expired. The timeout period elapsed during the post-login phase. The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=90; handshake=301; [Login] initialization=0; authentication=0; [Post-Login] complete=14001;

SqlClient现在不支持Linux的SP1连接。Sqlserver 2008 R2需要升级安装SP3 Service Pack

https://www.microsoft.com/en-us/download/details.aspx?id=44271

你可能感兴趣的:(SqlException:ConnectionTimeout Expired. The timeout period elapsed during the post-login phase)