G
Graham Allwood
Hi,
does anyone know how I can determine if a connection in the connection pool
has become invalid?
The problem I have is that I'm hosting some remote components in IIS and
these components use ADO.NET to connected to SqlServer. Now, connection
pooling is enabled so if the backend Sql database goes down for a short
while and then comes back up, all connections in the pool are now invalid
and the next time I try and use one I get an exception. I need to be able to
distinguish this from a real database problem and an invalid poolled
connection.
does anyone have any ideas?
Thanks for any help
Graham
does anyone know how I can determine if a connection in the connection pool
has become invalid?
The problem I have is that I'm hosting some remote components in IIS and
these components use ADO.NET to connected to SqlServer. Now, connection
pooling is enabled so if the backend Sql database goes down for a short
while and then comes back up, all connections in the pool are now invalid
and the next time I try and use one I get an exception. I need to be able to
distinguish this from a real database problem and an invalid poolled
connection.
does anyone have any ideas?
Thanks for any help
Graham