Page 1 of 2

Cannot find connections files from application directory

Posted: Mon 24 Nov 2008 12:17
by fgomes
I'm getting this error when deploying my application, I did some tests here installing the application on a clean machine and if I copy the dbxdrivers.ini along with the application it works fine.

In previous versions I just had to deploy the dbexpida*.dll.

Do I really need to send this dbxdrivers.ini with the application?

I think I might be missing something in the application's code.

Posted: Tue 25 Nov 2008 08:18
by Plash
You need to deploy the dbxdrivers.ini and dbxconnections.ini files with an application compiled with Delphi 2009. Maybe this is a bug in dbExpress of Delphi 2009.

Posted: Tue 25 Nov 2008 11:24
by fgomes
Plash wrote:You need to deploy the dbxdrivers.ini and dbxconnections.ini files with an application compiled with Delphi 2009. Maybe this is a bug in dbExpress of Delphi 2009.
Ok, that fixed it.

Btw, what do I really need to have in the dbxdrives.ini when I deploy the application?

I tested here and it worked with just this in the dbxdrives.ini file:

[Installed Drivers]
DevartInterBase=1

Do I need to have other sections or keys in the deployed dbxdrivers.ini?

Thanks.

Posted: Wed 26 Nov 2008 08:16
by Plash
You don't need other settings in the dbxdrivers.ini file.

I have same problem with RAD Studio(Delphi 2007)

Posted: Tue 16 Dec 2008 15:30
by afixcode
I have same problem with RAD Studio(Delphi 2007)

Posted: Wed 17 Dec 2008 10:19
by Plash
In Delphi 2007 such error is raised but then it is cought inside the dbExpress code. So a user does not see an error when the program is running without debugger.

Not connect

Posted: Wed 17 Dec 2008 21:28
by afixcode
Running my program without debugger, if i not deploy the 2 ini files, i can't connect(Delphi 2007).

Posted: Thu 25 Dec 2008 11:06
by Plash
We could not reproduce this problem. Please specify the exact version of your RAD Studio (see Help | About CodeGear RAD Studio).

Version

Posted: Mon 29 Dec 2008 11:34
by afixcode
CodeGear™ Delphi® 2007 for Win32® R2 Version 11.0.2902.10471

With December 2007 Update + Apr 08 Help Update

Thanks.

Posted: Tue 30 Dec 2008 09:36
by Plash
You should set the LoadParamsOnConnect property of TSQLConnection to False.

Posted: Mon 02 Feb 2009 20:19
by afixcode
I change to false, but don't work

Posted: Wed 04 Feb 2009 13:01
by afixcode
I can't send the ini files to my clients. Can you help me?

Thanks.

Posted: Wed 25 Feb 2009 20:12
by afixcode
Any idea? I'm waiting....

Thanks!

Posted: Wed 04 Mar 2009 08:23
by Plash
We cannot reproduce this problem. Anyway it is not related to our driver. It is a general dbExpress problem. So you can try to search a solution on the GodeGear forum.

Posted: Wed 04 Mar 2009 11:39
by afixcode
With dbxint30.dll(borland) work normally, without the two INI Files...