Is there anyway to clear out the ADO.NET Connection Pool?

visuallite

Newcomer
Joined
Oct 29, 2003
Messages
11
I'm debuggin someone's application. It does have all connections closed and disposed of. But when I was debugging and stepping through i must have filled up the connection pool by not running through the whole app. Now on startup i get the error --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.--

Is there anyway to flush the entire pool out on startup? The connection pool is maxed out and I tried to increase the max, but doesn't help. Is there someway to check if the pool is maxed out and flush it?
 
Back
Top