D
David Cohen
I have an AJAX page where I am doing a partial page refresh every 5 seconds.
My Page_Load() function contains the following:
SqlConnection conn = new SqlConnection(...);
conn.Open();
// database access stuff
conn.Close();
Even though I am closing the connection, I find that whenever this page
stays open for a long time, I get an "all pooled connections were in use and
max pool size was reached" error message. Does anybody know why?
My Page_Load() function contains the following:
SqlConnection conn = new SqlConnection(...);
conn.Open();
// database access stuff
conn.Close();
Even though I am closing the connection, I find that whenever this page
stays open for a long time, I get an "all pooled connections were in use and
max pool size was reached" error message. Does anybody know why?