Dear Forum:- SQL Connection Problem

stoneferry

New member
Joined
Jan 9, 2009
Messages
1
Programming Experience
1-3
Hi all, I have an SQL Connection problem.

For reasons unknown, sometimes a call to a particular SqlConnection() function, when the .Open() command is called a connection is opened (as expected), although the corresponding .Close() command (which does run every time) does not close the connection.

The connection pool proceeds to fill up and fail.

Any advice on what can cause this and how to resolve?

Cheers
 
Very odd. You can disable pooling or implement it yourself, but you'd be better off seeing if its a reportable bug.

Are you 100% positive that youre not altering the connectionstring in any way? AFAIK The hashcode gotten from the connectionstring (as a srting) is used to determine whether a pooled connection has already been created
 
Back
Top