identifying corrupt connection pool exceptions RRS feed

  • Question


    I want to be able to clear my connection pool in instances where the pool has become corrupted, but how can I tell if the sqlexception I receive is a connection pool problem.

    I've been looking at which says "We determine that a pool is corrupted _only_ when we get a fatal exception from the network layer on a previously opened connection. Exceptions from the server, exceptions that happen during log in and of course client side exceptions are ignored. ".


    Could anybody please translate this into code.

    Tuesday, November 13, 2007 1:46 PM