DBX Error: Driver could not be properly initialized..解决办法

开发环境:win7 64位+delphi xe5+ dbexpress +oracle 10G 10.2.0.1 32位客户端

服务器环境:winxpsp3 32位 + oracle 10G 10.2.0.5

现象

1.PLSQL Developer连接正常

2.像d7一样配置参数连接oracle,提示如下错误

 "DBX Error: Driver could not be properly initialized. Client library may be missing, not installed properly, of the wrong wersion, or the driver may be missing from the system path."

解决办法:

1.搜索delphi xe5安装目录的dbxora.dll,把bin64下的dbxora.dll拷贝到C:WindowsSysWOW64.

2.http://www.jb51.net/dll/oci.dll.html下载oci.dll,把里面的X6410.2.0.1.0oci.dll拷贝到C:WindowsSysWOW64.

如果是其它oracle服务端,可以用相应的oci.dll来试。

问题解决。

原文地址:https://www.cnblogs.com/dreamszx/p/3551922.html