I have the following issue in an ASP.NET Core app. With Dapper I connect to a SQL Server database and I randomly have this issue:
MoveNext : SqlException Message : 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=21110; handshake=3;
I have other components connected to the database and they are not having this issue.
I have tried different troubleshoot solutions but nothing helps. If any one have any Idea, it will help.
3