Location of OracleClient.dll

  • Thread starter Thread starter David H.
  • Start date Start date
D

David H.

I'm trying to use the OracleClient provider in my asp.net
pages, but the namespace only seems to be available if I
put a copy of the System.Data.OracleClient.dll file in the
\bin directory of my web application.

Is there something I should be doing to my server
configuration to have this namespace show up automatically
without having to physically put a copy of the DLL in the
\bin directory?

I'm using .net 1.1.

Thanks!

- David H.

(e-mail address removed)
 
Hi David,

You have to add reference to System.Data.OracleClient.dll (right click on
reference within Solution Explorer, Add References...)
 
Hi Miha,

But what if he uses Web Matrix? Where do you want to include a reference?

The Ms oracle client dll should be part of the .NET Framework 1.1 so an
import stament should be enough - but if not the only solution that comes to
my mind would be putting it in the bin directory.

regards,
peter


<----------------------------------------------------->
Peter Monadjemi - ActiveTraining
www.activetraining.de
<----------------------------------------------------->
 
Hi Peter,

Peter Monadjemi said:
Hi Miha,

But what if he uses Web Matrix? Where do you want to include a
reference?

I am not familiar with Web Matrix but I am sure it has somewhere the
abbility to set/unset references to various assemblies.
The Ms oracle client dll should be part of the .NET Framework 1.1 so an
import stament should be enough - but if not the only solution that comes to
my mind would be putting it in the bin directory.

It is a part of framework 1.1 and it happily resides in GAC. It is just not
referenced by default.
As a matter of fact, there are only few assemblies referenced by default (in
VS.NET and probably also in web matrix).
Once you've added reference to the assembly then you can import its
namespaces(s).
 
Everyone seems to know how to do this in VS.Net.... I've spent about 5 days now and nobody seems to know how to do this without using VS???? ANYWHERE ONLINE??? This is crazy! I'M going crazy!!

----- Miha Markic wrote: ----

Hi Peter

reference

I am not familiar with Web Matrix but I am sure it has somewhere th
abbility to set/unset references to various assemblies
The Ms oracle client dll should be part of the .NET Framework 1.1 so a
import stament should be enough - but if not the only solution that come t
my mind would be putting it in the bin directory

It is a part of framework 1.1 and it happily resides in GAC. It is just no
referenced by default
As a matter of fact, there are only few assemblies referenced by default (i
VS.NET and probably also in web matrix)
Once you've added reference to the assembly then you can import it
namespaces(s)
 
Jason, I am not sure whether this is what you are looking for, but if you
want to reference a dll without using Visual Studio all you have to do is
specify the reference compiler option at compile time.

so if I have a test.cs that uses Oracle I would compile this from the
command like this:
csc /r:System.Data.OracleClient.dll test.cs

Does this help?
--
Angel Saenz-Badillos [MS] Managed Providers
This posting is provided "AS IS", with no warranties, and confers no
rights.Please do not send email directly to this alias.
This alias is for newsgroup purposes only.


jason said:
Everyone seems to know how to do this in VS.Net.... I've spent about 5
days now and nobody seems to know how to do this without using VS????
ANYWHERE ONLINE??? This is crazy! I'M going crazy!!!
 
Back
Top