We have implemented unhandled error trapping at the application level and
log these errors to our database. One error, however, the does not get
trapped is when the connection pool has exceeded the max number of
connections.
Obviously, we need to find the place(s) in our code where connections are
not closed correctly (espcially in loops), but I'm wondering if it's
possible to trap this error and to find out which part of our code (i.e.
stack trace) caused it. It seems logical that the application itself does
not produce the error since there is no error in the codebehind file. Is it
more of an IIS-level error?
Thanks in advance for your thoughts.
Sean
log these errors to our database. One error, however, the does not get
trapped is when the connection pool has exceeded the max number of
connections.
Obviously, we need to find the place(s) in our code where connections are
not closed correctly (espcially in loops), but I'm wondering if it's
possible to trap this error and to find out which part of our code (i.e.
stack trace) caused it. It seems logical that the application itself does
not produce the error since there is no error in the codebehind file. Is it
more of an IIS-level error?
Thanks in advance for your thoughts.
Sean
Comment