Connection Pool Error

B

Brian

Hello,

I'm having a recurring error whenever I try to debug a
asp.net web page is retrieving data from a SQL server.
The error msg is:

"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."

Any ideas?
 
H

Hermit Dave

by default asp.net uses pooling on connection object and a pool of 25
objects is maintained.
i would advise you to check for open connections....
any errors during db call not handled (and explicitly calling con.close() )
would not release the connection to the pool

if you are releasing all objects and are still running out cause of the
heavy load... try specifying the pool size in connection string...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top