Command timeout: Error code 08006?

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
Posts: 8
Joined: Tue 22 May 2012 15:10

Command timeout: Error code 08006?

Post by 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?


Devart Team
Posts: 2192
Joined: Wed 02 Nov 2011 09:44

Re: Command timeout: Error code 08006?

Post by 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.

Post Reply