0

I used telerik OpenAccess to connect to firebird Database with this ConnectionString :

"ServerType=1;User=SYSDBA;Password=masterkey;Dialect=3;Database=TEST.fdb"

enter image description here

and when i want to select my tables i get this error : enter image description here

I download Firebird-2.5.1.26351-0_x64_embed.zip and copy the following File in my output folder:

  1. fbembed.dll
  2. firebird.conf
  3. firebird.msg
  4. ib_util.dll
  5. icuin30.dll
  6. icudt30.dll
  7. icuuc30.dll
Mahdi jokar
  • 1,267
  • 6
  • 30
  • 50

2 Answers2

2

Use ClientLibrary connection string parameter to specify where the fbembed.dll is (or put it into working dir of Telerik OpenAccess.

cincura.net
  • 4,130
  • 16
  • 40
  • I use "ClientLibrary=fbembed.dll" in my connection String but i can't Connect to Database. my Error is : An attempt was made to load a program with an incorrect format. – Mahdi jokar Jan 30 '12 at 20:19
  • You have to put there full path. And make sure you have proper fbembed.dll according to your program - 64bit vs. 32bit. – cincura.net Jan 31 '12 at 07:37
  • my OS is 64 bit and i am using 64bit Firebird.and i use Fullpath for Clientlibrary (for example E:\fbembed.dll) but i still have problem. – Mahdi jokar Jan 31 '12 at 07:53
0

Is Telerik OpenAccess also 64-bit? If not, you need to use the 32-bit firebird embedded.

Rob Segerink
  • 106
  • 1
  • 3