RAD 2007 doesn't use correct driver???

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
teasy
Posts: 4
Joined: Thu 10 Jan 2008 09:25

RAD 2007 doesn't use correct driver???

Post by teasy » Thu 25 Sep 2008 13:48

Hi all,

According to my previous post (about the number of transactions), I discovered that RAD2007 doesn't use dbexpsda40.dll at all...

If I remove (or rename) all dbexpsda*.dll I still can execute my application.

Comparing SQL Server Profiler output to previous versions confirm that dbexpsda40.dll is not used.

Uninstalling and reinstalling the driver does not work!

How is that possible??? And even more important: how can I solve it???

Regards,

Filip.

teasy
Posts: 4
Joined: Thu 10 Jan 2008 09:25

Post by teasy » Fri 26 Sep 2008 12:56

Hi,

I (finally) discovered what was wrong:

Setting the SQLConnection.DriverName := 'SQLServer' (like BDS2006) resulted in dbexpress not knowing that name and loading the dbxdrivers.ini.

Changing that property to 'MSSQL' gave the correct result.

Regards,

Filip.

Post Reply