E
Ertan Sekmen
Hi there,
I required to get over a problem with ASP.net project. I do not have source
code. The error web site raises is : "Timeout expired. The timeout period
elapsed prior to obtaining a connection from the pool. this may have occured
because all pooled connections were in use and max pool size was reached"
As I cannot see the source code I am not able to determine what type of
structer the system has. I looked at sql server's process info. It seems the
web site opens connections and do not close them. When the error raises
there are a lot of process with the same user and same database and with
sleeping status.
First thing I try to do is increasing pool size, but then I realized that
this is not the correct solution, because If those connections won't close,
They won't return back to the pool. I am looking for a kind of connection
that may able to closed automatically.
The connection string can be read from web.conf file as follows :
"user id=myuser;password=mypass;initial catalog=mydb;data
source=myserver;max pool size=200;Pooling=true;"
can somebody tell me if there is any connection type closed automatically? I
remember there are things in ADO while I am using VisualBasic6 which I
require neither open nor close the connection.
thanks in advance
Ertan Sekmen
I required to get over a problem with ASP.net project. I do not have source
code. The error web site raises is : "Timeout expired. The timeout period
elapsed prior to obtaining a connection from the pool. this may have occured
because all pooled connections were in use and max pool size was reached"
As I cannot see the source code I am not able to determine what type of
structer the system has. I looked at sql server's process info. It seems the
web site opens connections and do not close them. When the error raises
there are a lot of process with the same user and same database and with
sleeping status.
First thing I try to do is increasing pool size, but then I realized that
this is not the correct solution, because If those connections won't close,
They won't return back to the pool. I am looking for a kind of connection
that may able to closed automatically.
The connection string can be read from web.conf file as follows :
"user id=myuser;password=mypass;initial catalog=mydb;data
source=myserver;max pool size=200;Pooling=true;"
can somebody tell me if there is any connection type closed automatically? I
remember there are things in ADO while I am using VisualBasic6 which I
require neither open nor close the connection.
thanks in advance
Ertan Sekmen