Page 1 of 1

D2010 Rad - DBX Error: Driver could not be properly init...

Posted: Thu 12 Aug 2010 19:26
by ScottWGast
Good afternoon:

Using D2010/dbExpress/SQL2005, I am getting the error:

"DBX Error: Driver could not be properly initialized. Client library may be missing, not installed properly, or of the wrong version."

I have installed the SQL 2008 Native client, and continue to get the error. I am able to connect successfully to the database while I'm in the IDE and if I leave it connected and run the application, it works fine. But if I disconnect from the database in the IDE and run the application, when I attempt to connect to the database, I receive the error.

Regards,

Posted: Fri 13 Aug 2010 11:29
by Dimon
Please, check that the DBXDevartSQLServer unit is included to the uses clause of the main unit of your application.

Also try to use the Query demo of DbxSda and check if the problem persists.

Posted: Fri 13 Aug 2010 13:45
by ScottWGast
I do not have DBXDevartSQLServer on my computer. I am using dbExpress that comes with D2010.

Posted: Fri 13 Aug 2010 14:05
by Dimon
To solve the problem use DbxSda driver.
Using our dbExpress drivers is the similar to using standard dbExpress drivers supplied by Borland, but our drivers have higher performance, extended options for advanced behaviour, and ability of monitoring query execution.
To setup SQLConnection for using DbxSda just set at design-time the ConnectionName property to "Devart SQL Server" connection configurations.