Timeout Period Elapsed
Posted: Thu 29 Aug 2013 21:44
Hi.
Getting the following exception after a network outage between client and server.
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at Devart.Common.DbConnectionFactory.b(DbConnectionBase A_0)
at Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at Devart.Common.DbConnectionBase.Open()
at Devart.Data.PostgreSql.PgSqlConnection.Open()
at StarrPos.Common.Src.Db.PostGreSqlIO.DBConnection(ConnectionType ct, String host)
Attempting to clear connection pool once this exception is detected does not resolve the issue.
Only successful resolution is to stop the client and restart.
Note: Client is running as a service.
I believe all connections are being closed after access.
Running Devart.Data.Dll 5.0.735.0 and Devart.Data.PostgreSql.Dll 6.6.276.0 on various versions of windows.
Getting the following exception after a network outage between client and server.
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at Devart.Common.DbConnectionFactory.b(DbConnectionBase A_0)
at Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at Devart.Common.DbConnectionBase.Open()
at Devart.Data.PostgreSql.PgSqlConnection.Open()
at StarrPos.Common.Src.Db.PostGreSqlIO.DBConnection(ConnectionType ct, String host)
Attempting to clear connection pool once this exception is detected does not resolve the issue.
Only successful resolution is to stop the client and restart.
Note: Client is running as a service.
I believe all connections are being closed after access.
Running Devart.Data.Dll 5.0.735.0 and Devart.Data.PostgreSql.Dll 6.6.276.0 on various versions of windows.