Problem with OracleClient namespace

burak

Well-known member
Joined
Jun 17, 2003
Messages
127
Hello,

I want to use the OracleConnection, OracleCommand,
and OracleDataReader classes, so I included the
following namespaces in my code.

<%@ import namespace="System"%>
<%@ import namespace="System.Data"%>
<%@ import namespace="System.Data.OracleClient"%>

When I ran the page, it came back with the following
error

"BC30002: Type OracleConnection is not defined"

I researched it on the internet and found I had to
explicitly include the reference in the project. Isaw
that I did not have System.Data.OracleClient.dll
installed, so I downloaded it from the net.

I then added the reference to my project but I am
still getting the same error.

"error BC30466: Namespace or type OracleClient for
the Imports System.Data.OracleClient cannot be
found."

Any ideas?

Thank you,

Burak
 
Back
Top