L
Lee G.
Hi,
I've got a small C# application that connects to my database via the
..NET OLE DB managed provider and it targets the 1.0 version of the
..NET framework. Pooling seems to be working fine, and I'm not seeing
multiple connections fired up during a run through the app. However,
when I target the 1.1 version of the framework, several connections
are being created which leads me to think that either pooling is not
working or the connections are not being disposed of correctly.
I've got a finally{} at the end of each method that connects to the
database, so I know that I'm releasing my connections correctly. And,
I am using the same connection string and object througout the
application.
My question is: Is there a difference in how connections are handled
in each of the versions of the framework? And if so, what are they?
Cheers!
I've got a small C# application that connects to my database via the
..NET OLE DB managed provider and it targets the 1.0 version of the
..NET framework. Pooling seems to be working fine, and I'm not seeing
multiple connections fired up during a run through the app. However,
when I target the 1.1 version of the framework, several connections
are being created which leads me to think that either pooling is not
working or the connections are not being disposed of correctly.
I've got a finally{} at the end of each method that connects to the
database, so I know that I'm releasing my connections correctly. And,
I am using the same connection string and object througout the
application.
My question is: Is there a difference in how connections are handled
in each of the versions of the framework? And if so, what are they?
Cheers!