Cannot find connections files from application directory

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for InterBase & Firebird in Delphi and C++Builder
fgomes
Posts: 7
Joined: Mon 24 Nov 2008 12:09

Cannot find connections files from application directory

Post by fgomes » Mon 24 Nov 2008 12:17

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.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 25 Nov 2008 08:18

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.

fgomes
Posts: 7
Joined: Mon 24 Nov 2008 12:09

Post by fgomes » Tue 25 Nov 2008 11:24

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.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 26 Nov 2008 08:16

You don't need other settings in the dbxdrivers.ini file.

afixcode
Posts: 9
Joined: Mon 15 Dec 2008 13:56

I have same problem with RAD Studio(Delphi 2007)

Post by afixcode » Tue 16 Dec 2008 15:30

I have same problem with RAD Studio(Delphi 2007)

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 17 Dec 2008 10:19

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.

afixcode
Posts: 9
Joined: Mon 15 Dec 2008 13:56

Not connect

Post by afixcode » Wed 17 Dec 2008 21:28

Running my program without debugger, if i not deploy the 2 ini files, i can't connect(Delphi 2007).

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 25 Dec 2008 11:06

We could not reproduce this problem. Please specify the exact version of your RAD Studio (see Help | About CodeGear RAD Studio).

afixcode
Posts: 9
Joined: Mon 15 Dec 2008 13:56

Version

Post by afixcode » Mon 29 Dec 2008 11:34

CodeGear™ Delphi® 2007 for Win32® R2 Version 11.0.2902.10471

With December 2007 Update + Apr 08 Help Update

Thanks.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 30 Dec 2008 09:36

You should set the LoadParamsOnConnect property of TSQLConnection to False.

afixcode
Posts: 9
Joined: Mon 15 Dec 2008 13:56

Post by afixcode » Mon 02 Feb 2009 20:19

I change to false, but don't work

afixcode
Posts: 9
Joined: Mon 15 Dec 2008 13:56

Post by afixcode » Wed 04 Feb 2009 13:01

I can't send the ini files to my clients. Can you help me?

Thanks.

afixcode
Posts: 9
Joined: Mon 15 Dec 2008 13:56

Post by afixcode » Wed 25 Feb 2009 20:12

Any idea? I'm waiting....

Thanks!

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 04 Mar 2009 08:23

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.

afixcode
Posts: 9
Joined: Mon 15 Dec 2008 13:56

Post by afixcode » Wed 04 Mar 2009 11:39

With dbxint30.dll(borland) work normally, without the two INI Files...

Post Reply