SQL Server Pre-Login Handshake
I'm connecting to MSSQL database through my ASP .NET application, but sometimes I got this error while opening connection. 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=3; handshake=14996; To solve it temporarily I've to restart IIS. I'm using this code snippet to connect to MSSQL: using (SqlConnection connection = new