0

i have used vb6 application with oracle client 11. but at the run exe, i got the below error:

-2147467259/Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.

Provider is unable to function until these components are installed.

Application platform: VB6 Application Type: exe Window: window 10 Oracle Client version: 11

Vishal Khunt
  • 172
  • 3
  • 14

2 Answers2

0

This is a duplicate question and the cause could be a number of different issues. This is likely due to the wrong client version being installed on your machine, and/or it is related to a known issue involving a security update for specific versions of windows. Please see the following Questions on 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

Here is the Mircosoft support article on the patch issue: https://support.microsoft.com/en-us/help/3126587/ms16-014-description-of-the-security-update-for-windows-vista-windows

1991DBA
  • 805
  • 1
  • 9
  • 18
0

Most likely you installed the 64-bit version of Oracle Client 11. VB6 binaries are always 32-but, thus you must install the 32-bit version of Oracle Client.

In case you need both, 32 and 64 bit versions one one machine follow this instruction: BadImageFormatException. This will occur when running in 64 bit mode with the 32 bit Oracle client components installed

According to your error messages you use the drivers from Microsoft. These drivers are deprecated for ages, you should prefer the drivers from Oracle.

Wernfried Domscheit
  • 54,457
  • 9
  • 76
  • 110