Hi,
We have a web service that talks to a Sybase database. We are using LLBLGEN 5.2 as our ORM.
I have noticed that if the web service is idle for a long time (maybe 2 hours), and then someone calls it, we get the following socket error:
Sybase.Data.AseClient.AseException: Connection to Sybase server has been lost. Connection died while reading from socket. Socket returned error code 10054. ERRNO returned 0. All active transactions have been rolled back
I am not sure what's going on, but I think that either LLBLGEN or the driver tries to use just one socket connection for all requests, and if the socket dies, then you get the following read error. Is this true? Could someone please explain to me how the connection to Sybase actually works?