Quantcast
Channel: SQL Server Express forum
Viewing all articles
Browse latest Browse all 3319

Intermittent/Random database connection errors

$
0
0

Have a .NET (3.5 thru 4.6) WinForms/C#/VB.NET Desktop application been used with SQL Server (2008 or 2016) running on Windows Server (2008 thru 2016). Application gets intermittent database errors. Below are the various types we have seen. Does not seem to be tied to release of SQL Server or Windows Server.


A transport-level error has occurred when receiving results from the server. (provider: TCP Provider; error: 0 - An existing connection was forcibly closed by remote host.)
Our app logs show variations of the error .. sometimes it is sending results. The TCP Provider error has following variations

>> TCP Provider; error: 0 - The semaphore timeout period has expired.
>> TCP Provider; error: 0 - An existing connection was forcibly closed by the remote host
>> Shared Memory Provider; error: 0 - No process is on the other end of the pipe.

>> TCP Provider; error: 0 - The network connection was aborted by the local system.
This is like a network connection drop, cable pulled, Wireless disconnected etc.

Have checked that application is not leaving open connections. Also confirmed the connections open stay less than 50 during our tests.

Need help from the community on how would I troubleshoot root cause? Most cases we ask user to retry and it just works.


Viewing all articles
Browse latest Browse all 3319

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>