community.borland.com

Article #27305: Statement failed, SQLCODE = -901

Problem:
When I try to connect to a database I receive the error, "Statement failed, SQLCODE = -901". When I select "Details" it says, "connection lost to database".

Solution:
This error can happen after you install a newer version of InterBase then uninstall the newer version and install an older version. The uninstall does not remove the gds32.dll file.
After you unistall the newer version of InterBase you need to manually delete the gds32.dll, then install the older version of InterBase.

Last Modified: 08-MAY-01