System.Data.SqlClient.SqlException: General network error. Check your network documentation.

  • Thread starter Thread starter Kal
  • Start date Start date
K

Kal

Hello,

Error:
System.Data.SqlClient.SqlException: General network error. Check your
network documentation.

What does this error means? My web app, suddenly started to show this
error today in my production environment, beta environment,
development environment, and also on my machine too.

When i debugged the app, i see that the error is happening when the
app is trying to open a connection using integrated security. For test
sake, in the connection string, i passed in userid and password and
then i did not get the error.

It is very puzzling.

Any body faced the same situation before.

Thanks,
Kalyan
 
My experience with this error though others may disagree is dropped
packets either on the server or client end. It seems a second or more is
enough to disrupt the connection sufficiently for an exception to be
thrown. I put in error handlers to order a certain number of reconnect
attempts prior to alerting the user. I am sure others have a more
elegant solution though.
 
Back
Top