Page 1 of 1

PgSqlConnection.ConnectionTimeout seems to be ignored

Posted: Tue 13 Mar 2007 10:40
by m_dirk
Hello,

I'm using the PostgreSQLDirect .NET Data Provider Mobile version on a Win CE 4.2 OS. The device is connected to the LAN via a WIFI connection.

I've specified the ConnectionTimeout at 5 seconds, but each time I try to connect (I've turned the WIFI off for testing, so it should reach the timeout every time) it takes 40+ seconds to come up with an exception (resource assembly not found).

Anything I'm missing here?

King regards,
Dirk

Posted: Wed 14 Mar 2007 09:52
by Alexey
Unfortunately, we were unable to reproduce such problem.
What is the full version of PostgreSQLDirect .NET you use?
Does this take place when you use an emulator?
What is the exact error message?

Posted: Wed 14 Mar 2007 12:36
by m_dirk
Alexey wrote:Unfortunately, we were unable to reproduce such problem.
What is the full version of PostgreSQLDirect .NET you use?
2.55.25.1
Alexey wrote:Does this take place when you use an emulator?
Yes, this happens on the emulator and the device (a Psion Workabout Pro).
Alexey wrote:What is the exact error message?
"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to response"

Note that for timeout testing purposes I've put the wrong IP-address in the connection object, making sure every connection attempt fails.

Posted: Fri 16 Mar 2007 15:10
by Alexey
This problem might be device-specific. We cannot reproduce it on VS2003 emulator, unfortunately.

Posted: Fri 16 Mar 2007 15:20
by m_dirk
Thanks for the reply Alexey, I will do some further investigation on the matter and will post results, if any.

Posted: Fri 16 Mar 2007 15:25
by Alexey
I will be looking forward.

Resolved ?

Posted: Thu 25 Jun 2009 09:21
by CNPSV
m_dirk wrote:Thanks for the reply Alexey, I will do some further investigation on the matter and will post results, if any.
Have you found a solution for your problem?

Posted: Thu 25 Jun 2009 11:13
by Shalex
Please specify your version of dotConnect for PostgreSQL Mobile. What is the error message and how can we reproduce the problem?