【问题标题】:-2147467259/Oracle client and networking components were not found-2147467259/未找到 Oracle 客户端和网络组件
【发布时间】:2019-05-24 19:11:40
【问题描述】:

我在 oracle 客户端 11 上使用过 vb6 应用程序。但是在运行 exe 时,我收到以下错误:

-2147467259/未找到 Oracle 客户端和网络组件。这些组件由 Oracle Corporation 提供,属于 Oracle 版本 7.3.3 或更高版本的客户端软件安装。

在安装这些组件之前,提供程序无法运行。

应用平台:VB6 应用程序类型:exe 窗口:窗口 10 Oracle 客户端版本:11

【问题讨论】:

  • 你能从命令行做一个 TNSPING 吗?
  • 您安装了哪个 Oracle 客户端? 32位版本还是64位版本?请向我们展示您的代码,尤其是。连接字符串。

标签: oracle vb6 exe


【解决方案1】:

这是一个重复的问题,原因可能是许多不同的问题。这可能是由于您的计算机上安装了错误的客户端版本,和/或它与涉及特定 Windows 版本的安全更新的已知问题有关。请参阅以下有关 Stack Overflow 的问题。

VB6 application oracle 12 64bit connection

Error ORA-03106 When using VB6 to access Oracle database in Windows 7 64bit

Oracle Client and networking components were not found - Excel VBA

Connection to Oracle through VBA no longer working

这是关于补丁问题的 Mircosoft 支持文章:https://support.microsoft.com/en-us/help/3126587/ms16-014-description-of-the-security-update-for-windows-vista-windows

【讨论】:

    【解决方案2】:

    您很可能安装了 64 位版本的 Oracle Client 11。VB6 二进制文件始终是 32-但是,因此您必须安装 32 位版本的 Oracle 客户端。

    如果您同时需要 32 位和 64 位版本,请按照以下说明操作:BadImageFormatException. This will occur when running in 64 bit mode with the 32 bit Oracle client components installed

    根据您的错误消息,您使用 Microsoft 的驱动程序。这些驱动程序已被弃用多年,您应该更喜欢 Oracle 的驱动程序。

    【讨论】:

      猜你喜欢
      • 2012-02-18
      • 2017-07-07
      • 1970-01-01
      • 2017-02-08
      • 2016-06-01
      • 2012-09-24
      • 1970-01-01
      • 2013-03-22
      • 1970-01-01
      相关资源
      最近更新 更多