DBX Error: Error Code: 65535.

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
sstewart
Posts: 1
Joined: Mon 17 Aug 2009 10:19

DBX Error: Error Code: 65535.

Post by sstewart » Mon 17 Aug 2009 10:37

Hello,

Our application is a multi-threaded server application, which is quite mature at this stage. It is installed on many customer sites and we support several database types, including Oracle, MySql, DB2 and MSSQL.

Recently we have started seeing this error message appear: "DBX Error: Error Code: 65535." while connected to SQL Server using dbexpsda40.dll (4.25.0.8 ). It appears to happen randomly or at least we have not noticed any obvious pattern.

Does anyone know what this error means?

Thanks,

Steve

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 25 Aug 2009 13:42

I can not reproduce the problem and we have not encountered such problems before with other users.

RemHep
Posts: 4
Joined: Tue 15 Sep 2009 13:39

Connexion DBX Error: Error Code: 65535

Post by RemHep » Tue 15 Sep 2009 13:46

I see the same error message in my log this morning. I use dbexpmda40.dll and libmysql.dll from 5.0 MySQL server.

Our application is a multi-threaded server application too­.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 16 Sep 2009 07:20

In order to solve the problem try to use the Direct mode to connect to MySQL database. DbxMda provides direct access to database, doesn't require MySQL client installed and that increases performance. For this you should set the TSQLConnection.DriverName property to 'DevartMySQLDirect' and the TSQLConnection.GetDriverFunc property to 'getSQLDriverMySQLDirect' value.

Post Reply