Unable to connect
Posted: Fri 14 Mar 2014 17:42
Platform: Delphi XE3 on Windows 2008 Server
Component: TSQLConnection, driver = Interbase
Error:
---------------------------
Debugger Exception Notification
---------------------------
Project my_app.exe raised exception class TDBXError with message 'DBX Error:
Driver could not be properly initialized. Client library may be missing,
not installed properly, of the wrong version, or the driver may be missing
from the system path.'.
---------------------------
Break Continue Help
---------------------------
Here are the contents of the exe's folder:
2013-Jan-22 05:55 PM 292,728 dbxint.dll
2013-Mar-19 11:02 AM 552,960 fbclient.dll
2014-Mar-14 10:58 AM 28,144,343 my_app.exe
2014-Mar-14 10:25 AM 614 my_app.ini
Note: fbclient.dll is definitely the 32b, correct version for my FB. I am using to for all my other applications (not using dbExpress in those) to connect to FB, and it works.
Here are my parameters :
(I changed only the values I need to, all other values were left at the default setting)
DriverUnit=Data.DBXInterBase
DriverPackageLoader=TDBXDynalinkDriverLoader,DbxCommonDriver170.bpl
DriverAssemblyLoader=Borland.Data.TDBXDynalinkDriverLoader,Borland.Data.DbxCommonDriver,Version=17.0.0.0,Culture=neutral,PublicKeyToken=91d62ebb5b0d1b1b
MetaDataPackageLoader=TDBXInterbaseMetaDataCommandFactory,DbxInterBaseDriver170.bpl
MetaDataAssemblyLoader=Borland.Data.TDBXInterbaseMetaDataCommandFactory,Borland.Data.DbxInterBaseDriver,Version=17.0.0.0,Culture=neutral,PublicKeyToken=91d62ebb5b0d1b1b
GetDriverFunc=getSQLDriverINTERBASE
LibraryName=dbxint.dll
LibraryNameOsx=libsqlib.dylib
VendorLib=fbclient.dll
VendorLibWin64=ibclient64.dll
VendorLibOsx=libgds.dylib
Database=127.0.0.1/3050:D:\firebird\db\baa.fdb
User_Name=SYSDBA
Password=masterkey
Role=SYSDBA
MaxBlobSize=-1
LocaleCode=0000
IsolationLevel=ReadCommitted
SQLDialect=3
CommitRetain=False
WaitOnLocks=True
TrimChar=False
BlobSize=-1
ErrorResourceFile=
RoleName=SYSDBA
ServerCharSet=
Trim Char=False
This happens at both designtime and runtime.
What am I doing wrong? I have been unable to connect using dbExpress even once. I was using TIBCConnection, with this same fbclient.dll successfully, but I *must* use dbExpress now to test something.
Thanks for any help you can provide.
Component: TSQLConnection, driver = Interbase
Error:
---------------------------
Debugger Exception Notification
---------------------------
Project my_app.exe raised exception class TDBXError with message 'DBX Error:
Driver could not be properly initialized. Client library may be missing,
not installed properly, of the wrong version, or the driver may be missing
from the system path.'.
---------------------------
Break Continue Help
---------------------------
Here are the contents of the exe's folder:
2013-Jan-22 05:55 PM 292,728 dbxint.dll
2013-Mar-19 11:02 AM 552,960 fbclient.dll
2014-Mar-14 10:58 AM 28,144,343 my_app.exe
2014-Mar-14 10:25 AM 614 my_app.ini
Note: fbclient.dll is definitely the 32b, correct version for my FB. I am using to for all my other applications (not using dbExpress in those) to connect to FB, and it works.
Here are my parameters :
(I changed only the values I need to, all other values were left at the default setting)
DriverUnit=Data.DBXInterBase
DriverPackageLoader=TDBXDynalinkDriverLoader,DbxCommonDriver170.bpl
DriverAssemblyLoader=Borland.Data.TDBXDynalinkDriverLoader,Borland.Data.DbxCommonDriver,Version=17.0.0.0,Culture=neutral,PublicKeyToken=91d62ebb5b0d1b1b
MetaDataPackageLoader=TDBXInterbaseMetaDataCommandFactory,DbxInterBaseDriver170.bpl
MetaDataAssemblyLoader=Borland.Data.TDBXInterbaseMetaDataCommandFactory,Borland.Data.DbxInterBaseDriver,Version=17.0.0.0,Culture=neutral,PublicKeyToken=91d62ebb5b0d1b1b
GetDriverFunc=getSQLDriverINTERBASE
LibraryName=dbxint.dll
LibraryNameOsx=libsqlib.dylib
VendorLib=fbclient.dll
VendorLibWin64=ibclient64.dll
VendorLibOsx=libgds.dylib
Database=127.0.0.1/3050:D:\firebird\db\baa.fdb
User_Name=SYSDBA
Password=masterkey
Role=SYSDBA
MaxBlobSize=-1
LocaleCode=0000
IsolationLevel=ReadCommitted
SQLDialect=3
CommitRetain=False
WaitOnLocks=True
TrimChar=False
BlobSize=-1
ErrorResourceFile=
RoleName=SYSDBA
ServerCharSet=
Trim Char=False
This happens at both designtime and runtime.
What am I doing wrong? I have been unable to connect using dbExpress even once. I was using TIBCConnection, with this same fbclient.dll successfully, but I *must* use dbExpress now to test something.
Thanks for any help you can provide.