|
 |
ado_dotnet thread: Error while importing System.datat.OracleClient
Message #1 by "bandaru" <bandaru_srikanth@h...> on Thu, 6 Mar 2003 07:36:56
|
|
CS0234: The type or namespace name 'OracleClient' does not exist in the
class or namespace 'System.Data' (are you missing an assembly reference?)
I am facing the above problem even though i am referencing the
System.data.oracleClient.
<%@ Import Namespace="System.Data"%>
<%@ Import Namespace="System.Data.OracleClient"%>
<script language=C# runat="server">
</script>
PLease help me out to solve this porblwm
Message #2 by "Shannon Horn" <shannon_horn@w...> on Thu, 6 Mar 2003 07:54:53 -0700
|
|
Did you create a reference in your project first by right-clicking the
project in the Solution Explorer and selecting Add Reference? Then
browse for the driver through the .NET page on the dialog. It is
normally located under C:\Program Files\Microsoft .NET. Once selected,
click OK and you'll see it appear in the Solution Explorer as a
reference under the project. This is the first step. I just finished up
using the Oracle driver with a client last week and it works fine as
long as you create a reference first.
-----Original Message-----
From: bandaru [mailto:bandaru_srikanth@h...]
Sent: Thursday, March 06, 2003 07:37
To: ADO.NET
Subject: [ado_dotnet] Error while importing System.datat.OracleClient
CS0234: The type or namespace name 'OracleClient' does not exist in the
class or namespace 'System.Data' (are you missing an assembly
reference?)
I am facing the above problem even though i am referencing the
System.data.oracleClient.
<%@ Import Namespace="System.Data"%>
<%@ Import Namespace="System.Data.OracleClient"%>
<script language=C# runat="server">
</script>
PLease help me out to solve this porblwm
===
Fast Track ADO.NET with C# is a concise introduction to the concepts,
techniques, and libraries that you will need in order to start using
ADO.NET in your applications. The book covers DataSets and Typed
DataSets, accessing data using DataReaders and DataAdaptors, the close
relationship between ADO.NET and XML, how and where to use ADO.NET in
your enterprise applications, and how to use Web Services and ADO.NET to
easily pass data between applications.
http://www.wrox.com/books/1861007604.htm
Message #3 by "Christopher Reed" <CReed@m...> on Thu, 06 Mar 2003 16:02:03 -0600
|
|
You might try copying the DLL (system.data.oracleclient.dll) into your
application's BIN directory. I know that there is a known bug with the
ODBC provider; the Oracle provider may have a similar problem.
Hope this helps!
Christopher Reed
Application Analyst
Web Development Coordinator
Information Technology
"...efficient operations and utilization of
technology and communications..."
City of Lubbock
creed@m...
"The oxen are slow, but the earth is patient."
>>> bandaru_srikanth@h... 7:36:56 AM 3/6/2003 >>>
CS0234: The type or namespace name 'OracleClient' does not exist in the
class or namespace 'System.Data' (are you missing an assembly
reference?)
I am facing the above problem even though i am referencing the
System.data.oracleClient.
<%@ Import Namespace="System.Data"%>
<%@ Import Namespace="System.Data.OracleClient"%>
<script language=C# runat="server">
</script>
PLease help me out to solve this porblwm
Message #4 by "srikanth bandaru" <bandaru_srikanth@h...> on Fri, 07 Mar 2003 03:54:33 +0000
|
|
yes i have done.. but still the same problem..........I got the solutionj atlast..
>From: "Shannon Horn"
>Reply-To: "ADO.NET"
>To: "ADO.NET"
>Subject: [ado_dotnet] RE: Error while importing System.datat.OracleClient
>Date: Thu, 6 Mar 2003 07:54:53 -0700
>
>Did you create a reference in your project first by right-clicking the
>project in the Solution Explorer and selecting Add Reference? Then
>browse for the driver through the .NET page on the dialog. It is
>normally located under C:\Program Files\Microsoft .NET. Once selected,
>click OK and you'll see it appear in the Solution Explorer as a
>reference under the project. This is the first step. I just finished up
>using the Oracle driver with a client last week and it works fine as
>long as you create a reference first.
>
>-----Original Message-----
>From: bandaru [mailto:bandaru_srikanth@h...]
>Sent: Thursday, March 06, 2003 07:37
>To: ADO.NET
>Subject: [ado_dotnet] Error while importing System.datat.OracleClient
>
>CS0234: The type or namespace name 'OracleClient' does not exist in the
>class or namespace 'System.Data' (are you missing an assembly
>reference?)
>
>I am facing the above problem even though i am referencing the
>System.data.oracleClient.
>
>
><%@ Import Namespace="System.Data"%>
><%@ Import Namespace="System.Data.OracleClient"%>
>
>
>PLease help me out to solve this porblwm
>===
>Fast Track ADO.NET with C# is a concise introduction to the concepts,
>techniques, and libraries that you will need in order to start using
>ADO.NET in your applications. The book covers DataSets and Typed
>DataSets, accessing data using DataReaders and DataAdaptors, the close
>relationship between ADO.NET and XML, how and where to use ADO.NET in
>your enterprise applications, and how to use Web Services and ADO.NET to
>easily pass data between applications.
>http://www.wrox.com/books/1861007604.htm
>---
>
>
>===
>Fast Track ADO.NET with C# is a concise introduction to the concepts, techniques, and libraries that you will need in order to
start using ADO.NET in your applications. The book covers DataSets and Typed DataSets, accessing data using DataReaders and
DataAdaptors, the close relationship between ADO.NET and XML, how and where to use ADO.NET in your enterprise applications, and how
to use Web Services and ADO.NET to easily pass data between applications.
>http://www.wrox.com/books/1861007604.htm
>---
Help STOP SPAM with http://server1.msn.co.in/msnspecials/worldcup03/ News, Views and Match Reports.
Message #5 by "srikanth bandaru" <bandaru_srikanth@h...> on Fri, 07 Mar 2003 04:52:06 +0000
|
|
yes its the right solution. we haev to copy the dll file in Bin directory of application.
B srikanth
hyderbad
>From: "Christopher Reed"
>Reply-To: "ADO.NET"
>To: "ADO.NET"
>Subject: [ado_dotnet] Re: Error while importing System.datat.OracleClient
>Date: Thu, 06 Mar 2003 16:02:03 -0600
>
>You might try copying the DLL (system.data.oracleclient.dll) into your
>application's BIN directory. I know that there is a known bug with the
>ODBC provider; the Oracle provider may have a similar problem.
>
>Hope this helps!
>
>Christopher Reed
>Application Analyst
>Web Development Coordinator
>Information Technology
>"...efficient operations and utilization of
> technology and communications..."
>City of Lubbock
>creed@m...
>"The oxen are slow, but the earth is patient."
>
> >>> bandaru_srikanth@h... 7:36:56 AM 3/6/2003 >>>
>CS0234: The type or namespace name 'OracleClient' does not exist in the
>
>class or namespace 'System.Data' (are you missing an assembly
>reference?)
>
>I am facing the above problem even though i am referencing the
>System.data.oracleClient.
>
>
><%@ Import Namespace="System.Data"%>
><%@ Import Namespace="System.Data.OracleClient"%>
>
>
>PLease help me out to solve this porblwm
>
>===
>Fast Track ADO.NET with C# is a concise introduction to the concepts, techniques, and libraries that you will need in order to
start using ADO.NET in your applications. The book covers DataSets and Typed DataSets, accessing data using DataReaders and
DataAdaptors, the close relationship between ADO.NET and XML, how and where to use ADO.NET in your enterprise applications, and how
to use Web Services and ADO.NET to easily pass data between applications.
>http://www.wrox.com/books/1861007604.htm
>---
Cricket http://server1.msn.co.in/msnspecials/worldcup03/ News, Views and Match Reports.
|
|
 |