C
Craig Buchanan
I'm using the SQLHelper class from Microsoft's DataAccess block in my code.
Recently, I've been getting an error when I try to use the class'
ExecuteReader method. The error reads:
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.
Obviously the connection is not being Dispose(d), but why is this occuring
now? Were is the max pool size setting being set? Should I be calling the
dispose method manually?
Thanks,
Craig Buchanan
Recently, I've been getting an error when I try to use the class'
ExecuteReader method. The error reads:
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.
Obviously the connection is not being Dispose(d), but why is this occuring
now? Were is the max pool size setting being set? Should I be calling the
dispose method manually?
Thanks,
Craig Buchanan