【问题标题】:Cannot make connection to Firebird 2.5 Server using Delphi XE2无法使用 Delphi XE2 连接到 Firebird 2.5 服务器
【发布时间】:2012-05-30 14:08:57
【问题描述】:

我已经安装了 firebird 2.5 服务器,创建了一个数据库,并希望使用 Data Explorer 与我的 Delphi XE2 建立一个连接。添加数据库详细信息、用户名和密码时,如果按下测试连接按钮,则会收到以下错误:

Borland.Data.TDBXError: 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.

我不知道是否需要将 .dll 文件添加到任何特定文件夹。我迷路了,需要帮助。

【问题讨论】:

    标签: database delphi delphi-xe2 firebird2.5


    【解决方案1】:

    您需要将fbclient.dll 文件复制到PATH 环境变量中的某个文件夹

    例如在 32 位系统中,将 fbclient.dll(32 位版本)复制到 C:\Windows\System32 文件夹

    例如在 64 位系统中,将 fbclient.dll(32 位版本)复制到 C:\Windows\SysWOW64 文件夹

    注意:如果您使用的是 64 位版本的 Firebird,您必须使用 <Firebird install path>\Firebird_2_5\WOW64 文件夹中的 fbclient.dll 文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-10-10
      • 1970-01-01
      • 1970-01-01
      • 2012-11-05
      • 1970-01-01
      相关资源
      最近更新 更多