S
scott mcfadden
We use ADO.NET / SQLProvider against SQL2000 for our web application. We
have started to see more and more of these errors:
Exception Type: System.Data.SqlClient.SqlException
Errors: System.Data.SqlClient.SqlErrorCollection
Class: 10
LineNumber: 0
Message: Timeout expired. The timeout period elapsed prior to completion of
the operation or the server is not responding.
Number: -2
Procedure: ConnectionRead (recv()).
From the error text, it appears that this error is more of a TCP/IP type
error. Is this a network issue rather than TSQL performance issue?
We use the default SqlCommand timeout of 30 seconds (transactions should
never take longer this). We use the TCP/IP network library for
SqlConnections. I have read that other folks have recommended using Named
Pipes sql network library as it has less problems and is faster than the
TCP/IP Sql network library. We use the default ado.net / sql connection
pooling values. We use Win2003 SP1 for the OS / web server and SQL 2000 SP4
as the SQLServer.
What are the standard things to check when encountering this type of error
(i.e. design of query, MDAC version, misssed SqlConnection / SqlDataReader
closes, Sql Network library, etc?)
thanks
have started to see more and more of these errors:
Exception Type: System.Data.SqlClient.SqlException
Errors: System.Data.SqlClient.SqlErrorCollection
Class: 10
LineNumber: 0
Message: Timeout expired. The timeout period elapsed prior to completion of
the operation or the server is not responding.
Number: -2
Procedure: ConnectionRead (recv()).
From the error text, it appears that this error is more of a TCP/IP type
error. Is this a network issue rather than TSQL performance issue?
We use the default SqlCommand timeout of 30 seconds (transactions should
never take longer this). We use the TCP/IP network library for
SqlConnections. I have read that other folks have recommended using Named
Pipes sql network library as it has less problems and is faster than the
TCP/IP Sql network library. We use the default ado.net / sql connection
pooling values. We use Win2003 SP1 for the OS / web server and SQL 2000 SP4
as the SQLServer.
What are the standard things to check when encountering this type of error
(i.e. design of query, MDAC version, misssed SqlConnection / SqlDataReader
closes, Sql Network library, etc?)
thanks