Error Message:
.Net SqlClient Data Provider: Msg 10054, Level 20, State 0, Line 0
A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 – An existing connection was forcibly closed by the remote host.)
This error Occurs when the connection is forcibly closed by SQL Server.
Possible Reasons:
- When the connection was IDLE for a long time
- SQL Server Service is restarted / Stopped
- The database to which the connection is connected to is restored
- KILL Command is issued by any other user.
Resolution/fix:
Try to reconnect to the server