views:

70

answers:

1

Hello,

I run a c# process and in the middle of the night this happens:

ERROR [HY000][DataDirect][ODBC Sybase Wire Protocol driver] Timeout exceeded

I know for sure that the database is allways active! But this keeps happening! Do you how can I fix this error?

Thanks in advance!

EDIT: is there a way to put the timeout four times bigger?

A: 

Maybe the network connection goes down.

I'd suggest setting up a small IsAlive utility to check this. Either write something small that send out a ping every 30 seconds or so and logs any problems or you might be able to download some tool that does this.

ho1
is there a way to put the timeout three times bigger?
aF
You can always change the `OdbcConnection.ConnectionTimeout` or you might be able to do it by going to the ODBC control panel applet and changing the settings.
ho1