OracleClient DNE

S

Stephen Cerniglia

I'm getting an OracleClient does not exist error, however I see the
System.Data.OracleClient in the Assembly Cache. Is there something else I
have to do for the namespace to be imported?

Thanks!

--Steve
 
V

Val Mazur

Hi,

Based on error message, I think you also need to install client tools for
Oracle. I am not working with Oracle, but when you work with MS SQL Server,
there are also some sort of client tools, which are required to be installed
on a client side to be able to work with SQL Server. Same situation is true
for Sybase server. I think similar situation in your case. Those tools
should come with Oracle installation.
 
G

Guest

I am experiencing the a similar problem.
When I tried to import System.Data.OracleClient, I got a compilation error
How can this be resolved?

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name 'OracleClient' does not exist in the class or namespace 'System.Data' (are you missing an assembly reference?

Source Error
Line 1: <%@ Page language="c#" Codebehind="PetForm.aspx.cs" AutoEventWireup="false" Inherits="Pets.WebForm1"
Line 2: <%@ Import Namespace="System.Data.OracleClient" %
Line 3:
Line 4: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top