V
Valerie Hough
Hi
I am supporting a client that gets 5-10 of the following errors each day:
General network error. Check your network documentation.
-----------------------------
Stack trace:
at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction)
at
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString
options, Boolean& isInTransaction)
at System.Data.SqlClient.SqlConnection.Open()
They are running SQLServer 2000 on a Windows 2003 Server domain.
The applications always use the following connection string:
"Server=MySqlServer;Integrated Security=SSPI;Pooling=true;Initial
Catalog=MyDatabase"
Someone has verified that:
- every SqlConnection.Open() has a corresponding SqlConnection.Close()
- every SqlReader.ExecuteReader() has a corresponding SqlReader.Close()
All code is enclosed in try/catch blocks - there are no other exceptions
occurring
One blog I found suggested turning off pooling, another suggested setting
Max Pool Count to some very high number like 5000.
I would very much like to understand the cause of the problem before I start
trying things at random.
Can anyone help?
Thanks in advance.
Valerie Hough
I am supporting a client that gets 5-10 of the following errors each day:
General network error. Check your network documentation.
-----------------------------
Stack trace:
at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction)
at
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString
options, Boolean& isInTransaction)
at System.Data.SqlClient.SqlConnection.Open()
They are running SQLServer 2000 on a Windows 2003 Server domain.
The applications always use the following connection string:
"Server=MySqlServer;Integrated Security=SSPI;Pooling=true;Initial
Catalog=MyDatabase"
Someone has verified that:
- every SqlConnection.Open() has a corresponding SqlConnection.Close()
- every SqlReader.ExecuteReader() has a corresponding SqlReader.Close()
All code is enclosed in try/catch blocks - there are no other exceptions
occurring
One blog I found suggested turning off pooling, another suggested setting
Max Pool Count to some very high number like 5000.
I would very much like to understand the cause of the problem before I start
trying things at random.
Can anyone help?
Thanks in advance.
Valerie Hough