Command timeout: Error code 08006?
Posted: Fri 25 May 2012 12:03
Hi All,
My application needs to know if a certain exception was caused by a command timeout. Usually I examine the error code or error number; this works fine with SqlClient and ODP. However, the dotConnect provider gives error code 08006 (connection_failure). I think this is not quite correct. Wouldn't be 57014 (query_canceled) be more appropriate?
Thanks!
My application needs to know if a certain exception was caused by a command timeout. Usually I examine the error code or error number; this works fine with SqlClient and ODP. However, the dotConnect provider gives error code 08006 (connection_failure). I think this is not quite correct. Wouldn't be 57014 (query_canceled) be more appropriate?
Thanks!