How to clear connection pool?
- From: "Srinivas Kollipara" <skollipara@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 16 Jun 2005 14:12:03 -0400
Hello all,
I am wondering how to clear the connection pools from C# program, because my
program everytime it runs , it needs 70 connections... so whenever my
project fails i wanted to reset connection pools, or else after 3 to 4 runs,
i am getting an error "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". then if i reboot it
will be ok, i dont want to rebbot machine for this reason.. i heard a while
back that this feature is included in .NET 2.0, can any one knows that it
has that feature. can some one help me on this, how to do it.
Thanks
Srinivas
.
- Follow-Ups:
- Re: How to clear connection pool?
- From: Jeff Clausius
- Re: How to clear connection pool?
- From: Sahil Malik [MVP]
- Re: How to clear connection pool?
- From: William \(Bill\) Vaughn
- Re: How to clear connection pool?
- From: Patrice
- Re: How to clear connection pool?
- Prev by Date: Re: UPDATE problems with Parameters
- Next by Date: Re: How to clear connection pool?
- Previous by thread: Interrogate for Parameters?
- Next by thread: Re: How to clear connection pool?
- Index(es):
Loading