Cannot find connections files from application directory

Cannot find connections files from application directory

Postby 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.
fgomes
 
Posts: 7
Joined: Mon 24 Nov 2008 12:09

Postby 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.
Plash
Devart Team
 
Posts: 2844
Joined: Wed 10 May 2006 07:09

Postby 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.
fgomes
 
Posts: 7
Joined: Mon 24 Nov 2008 12:09

Postby Plash » Wed 26 Nov 2008 08:16

You don't need other settings in the dbxdrivers.ini file.
Plash
Devart Team
 
Posts: 2844
Joined: Wed 10 May 2006 07:09

I have same problem with RAD Studio(Delphi 2007)

Postby afixcode » Tue 16 Dec 2008 15:30

I have same problem with RAD Studio(Delphi 2007)
afixcode
 
Posts: 9
Joined: Mon 15 Dec 2008 13:56

Postby 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.
Plash
Devart Team
 
Posts: 2844
Joined: Wed 10 May 2006 07:09

Not connect

Postby 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).
afixcode
 
Posts: 9
Joined: Mon 15 Dec 2008 13:56

Postby 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).
Plash
Devart Team
 
Posts: 2844
Joined: Wed 10 May 2006 07:09

Version

Postby 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.
afixcode
 
Posts: 9
Joined: Mon 15 Dec 2008 13:56

Postby Plash » Tue 30 Dec 2008 09:36

You should set the LoadParamsOnConnect property of TSQLConnection to False.
Plash
Devart Team
 
Posts: 2844
Joined: Wed 10 May 2006 07:09

Postby 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

Postby 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

Postby afixcode » Wed 25 Feb 2009 20:12

Any idea? I'm waiting....

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

Postby 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.
Plash
Devart Team
 
Posts: 2844
Joined: Wed 10 May 2006 07:09

Postby afixcode » Wed 04 Mar 2009 11:39

With dbxint30.dll(borland) work normally, without the two INI Files...
afixcode
 
Posts: 9
Joined: Mon 15 Dec 2008 13:56

Next

Return to dbExpress driver for InterBase & Firebird