Detect non-closed connections to SQL
Posted
by JoeJoe
on Stack Overflow
See other posts from Stack Overflow
or by JoeJoe
Published on 2010-04-12T17:05:05Z
Indexed on
2010/04/12
18:03 UTC
Read the original article
Hit count: 192
I've inherited a very large project in ASP.net, SQL 2005 and have found where some SQL connections are not closed - which is bad. Without going thru every line of code, is there a way to detect if connections are not being closed? Performance counter? as a follow up - how does SQL reclaim unclosed connections. I'm using non-pooled connectionstring.
© Stack Overflow or respective owner