【问题标题】:Error in using Embeded Firebird使用嵌入式 Firebird 时出错
【发布时间】:2012-01-29 20:56:08
【问题描述】:

我使用 Telerik OpenAccess 通过这个 ConnectionString 连接到 firebird 数据库:

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

当我想选择我的表时,我得到了这个错误:

我下载 Firebird-2.5.1.26351-0_x64_embed.zip 并将以下文件复制到我的输出文件夹中:

  1. fbembed.dll
  2. firebird.conf
  3. firebird.msg
  4. ib_util.dll
  5. icuin30.dll
  6. icudt30.dll
  7. icuuc30.dll

【问题讨论】:

    标签: visual-studio-2010 firebird firebird2.5 openaccess telerik-open-access


    【解决方案1】:

    使用ClientLibrary 连接字符串参数指定fbembed.dll 的位置(或将其放入Telerik OpenAccess 的工作目录中。

    【讨论】:

    • 我在连接字符串中使用“ClientLibrary=fbembed.dll”,但无法连接到数据库。我的错误是:试图加载格式不正确的程序。
    • 你必须把完整的路径放在那里。并确保根据您的程序拥有正确的 fbembed.dll - 64 位与 32 位。
    • 我的操作系统是 64 位的,我使用的是 64 位 Firebird。我为 Clientlibrary 使用完整路径(例如 E:\fbembed.dll),但我仍然有问题。
    【解决方案2】:

    Telerik OpenAccess 也是 64 位的吗?如果没有,则需要使用嵌入的 32 位 firebird。

    【讨论】:

    • 我使用 32 位 openaccess 和 firebird,但我仍然有同样的问题
    猜你喜欢
    • 1970-01-01
    • 2014-10-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多