Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

OracleClient.dll is the data provider for Oracle, which was made by Oracle themselves I believe (if not then they probably ripped it from the mono project).

 

In any case, MSDN has documentation on it and it's in version 1.1 of the .NET framework.

 

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdataoracleclient.asp

 

If you don't have 1.1 you can download it from the Oracle site (you need a login name and all that jazz though)

 

http://otn.oracle.com/software/content.html

Gamer extraordinaire. Programmer wannabe.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...