Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I need help here. I've installed Oracle 11g database in Windows 7 platform.
Tested the odbc connection from Windows\SysWOW64\odbcad32.exe is working fine.
But i encounter error when import the DataAccess Client in Visual Studio 2005 ~ VB.Net. There is no problem in adding the reference Oracle.DataAccess.dll from Oracle\ora11r2\ODP.Net\bin\2.x\Oracle.DataAccess.dll but I encounter error in below code:

Imports Oracle.DataAccess.Client (Namespace or type specified in the Imports 'Oracle.DataAccess.Client' doesn't contain any public member or cannot be found. 


VB
Dim myConnection As New OracleConnection(sConnStr) (Type 'OracleConnection' is not defined)



Is there anything I need to tweet so that I can import the oracle data access client to my code? Pls advise & TQ!
Posted
Updated 31-Oct-11 22:02pm
v2

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