G
greg
Hi
We have w2k, iis5, .NET/c#
I periodically receive this message and the system freezes
++++++++++++++++++++++++++++++++++++++++++++++++++
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.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
in all data access objects i USE destructor that closes connection:
public SBSite(String siteId){
String cString =
System.Configuration.ConfigurationSettings.AppSettings["connectionString"];
conn = new SqlConnection(cString);
conn.Open();
}
public DO_SOMETHING_USING_CONNECTION() {}
~SBSite()
{
conn.Close();
}
BUT the problem persists
HELP
also where connection pooling is enabled/disabled for .NET/c#?
how can I increase pool size?
THANKS
GSL
We have w2k, iis5, .NET/c#
I periodically receive this message and the system freezes
++++++++++++++++++++++++++++++++++++++++++++++++++
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.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
in all data access objects i USE destructor that closes connection:
public SBSite(String siteId){
String cString =
System.Configuration.ConfigurationSettings.AppSettings["connectionString"];
conn = new SqlConnection(cString);
conn.Open();
}
public DO_SOMETHING_USING_CONNECTION() {}
~SBSite()
{
conn.Close();
}
BUT the problem persists
HELP
also where connection pooling is enabled/disabled for .NET/c#?
how can I increase pool size?
THANKS
GSL