J
JustALittleGateway
Hi,
We've got a connetion pooling problem with a few ASP.NET apps.
We comply to all demands described for enabling pooling (ie same
connectsting, open when needen, close when done etc..)
It seems that the app does not pool the connections, when a button is
clicked that opens a connection retrieves data and close the
connection 1 connection is created in SQL server. When the button is
clicked 10 times, 10 connections are created and so on. By setting the
connection life time to 10 seconds connections are closed in a
respectable time so we don't get any time out errors.
Question: what could cause ADO.NET to open 10 separate connections in
stead of pooling 1 connection and reusing it?
Hope anyone can provide some support.
Some background info on what we use.
Windows 2003 server standard
SQL Server 2000 SP3
Framework 1.1
..NET 2003
SqlClient for connecting
We've got a connetion pooling problem with a few ASP.NET apps.
We comply to all demands described for enabling pooling (ie same
connectsting, open when needen, close when done etc..)
It seems that the app does not pool the connections, when a button is
clicked that opens a connection retrieves data and close the
connection 1 connection is created in SQL server. When the button is
clicked 10 times, 10 connections are created and so on. By setting the
connection life time to 10 seconds connections are closed in a
respectable time so we don't get any time out errors.
Question: what could cause ADO.NET to open 10 separate connections in
stead of pooling 1 connection and reusing it?
Hope anyone can provide some support.
Some background info on what we use.
Windows 2003 server standard
SQL Server 2000 SP3
Framework 1.1
..NET 2003
SqlClient for connecting