ErrorCode 90 Clarion cannot reconnect to MSSQL after Network disconnection


I have the following issue, this is on Clarion10. When the computer disconnects from the network long enough(around 30 seconds or so) and it gains again connection to the network, for some reason the program cannot reconnect to the database, only if I close the program and open it again.

When I try to do a Share(file) or Open(file, filemode), I get the following error

Errorcode = 90
ERROR = File System Error
ERRORFILE = Data source name not found and no default driver specified

Do you know if there is a way to regain connectivity to the database after losing connection for a while?

When I tried to do a Close(file) I get the error that the file is not open.
But if I then try to open the file, I get the following error:
“invalid connection string attribute clarion”

But I check the string connection and it’s the same as when the program starts, so it should reconnect. If I close and open the program it reconnects just fine, but I need to find a solution that does not involve closing and opening the app.

Thanks a lot for your help.

Perhaps something in this topic will help:

1 Like

Also watch the Webinar 496 about using ODBC driver, ODBC 11 has Connection Resiliency.

1 Like