Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
i' getting data from oracle database with this codes but when i run codes in 64bit pc i'm getting this error

What I have tried:

Dim Conn As New ADODB.Connection
Dim RS As New ADODB.Recordset
Dim Cmd As New ADODB.Command


    Conn.Open "PROVIDER=MSDAORA.Oracle;DATA SOURCE=OMEGA;USER ID=****;PASSWORD=****"
Posted
Updated 14-Aug-20 2:59am

1 solution

There was never a 64-bit version of the MSADORA.Oracle provider released. You will need to migrate to Oracle's own data access components instead.

64-bit Oracle Data Access Components (ODAC) for Windows[^]
 
Share this answer
 
Comments
Member 14588284 14-Aug-20 9:07am    
thanks for answer
When I install this program does it affect the existing installed program on the host machine?
Richard Deeming 14-Aug-20 9:50am    
It shouldn't do, unless you already have applications using a 64-bit version of ODAC.
Member 14588284 15-Aug-20 6:02am    
i runned .dat files in dowloaded files but i get again same error
Richard Deeming 17-Aug-20 4:20am    
You'll need to install the ODAC and change the provider your connection string from MSDAORA.Oracle to OraOLEDB.Oracle.

Oracle Provider for OLE DB Connection Strings - ConnectionStrings.com[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900