Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool.

The Scenario: Sometimes you might get the following errors letting you know that you have exhausted the connection pool even though you are under the impression that this should not be the case.    –> In .Net 1.1 System.InvalidOperationException: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may…

2

Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

The Scenario:   Sometimes you may get a timeout issue looking something like this:   System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand…

13