Anthony Matovu
asked on
read an oracle database using vb.net
Dear Experts,
I would want to read an oracle database using my vb.net application.
I have tried the code below and got the error below.
Dim oradb As String = "Data Source=(DESCRIPTION=" _
+ "(ADDRESS_LIST=(ADDRESS=(P ROTOCOL=TC P)(HOST=xx x-yyyy.ttt t.tt.uu)(P ORT=1521)) )" _
+ "(CONNECT_DATA=(SERVER=DED ICATED)(SE RVICE_NAME =bibp)));" _
+ "User Id=userid;Password=userpw; "
Dim conn As New OracleConnection(oradb)
My computer is a 64 bit and I have been using PLSQL to access the oracle database.
Thank you for your help
Anthony
ttempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
I would want to read an oracle database using my vb.net application.
I have tried the code below and got the error below.
Dim oradb As String = "Data Source=(DESCRIPTION=" _
+ "(ADDRESS_LIST=(ADDRESS=(P
+ "(CONNECT_DATA=(SERVER=DED
+ "User Id=userid;Password=userpw;
Dim conn As New OracleConnection(oradb)
My computer is a 64 bit and I have been using PLSQL to access the oracle database.
Thank you for your help
Anthony
ttempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.