Command timeout: Error code 08006?

Command timeout: Error code 08006?

Postby Matthias3 » 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!
Matthias3
 
Posts: 8
Joined: Tue 22 May 2012 15:10

Re: Command timeout: Error code 08006?

Postby Pinturiccio » Mon 28 May 2012 11:34

There is not enough information for reproducing the issue. Could you please specify the following:
1. The full exception text;
2. The stack trace of the exception;
3. The steps for reproducing the issue.

If possible, send us a small test project with DDL/DML scripts for reproducing the issue.
Pinturiccio
Devart Team
 
Posts: 1982
Joined: Wed 02 Nov 2011 09:44


Return to dotConnect for PostgreSQL