I thought the dll was supposed to be in the log4net bin and not the bin
of the application using it. Sorry. I am having a problem with my
connection string though. It has stopped giving me the "ORA-12535:
TNS:operation timed out" when our DBA reset my Oracle Home setting, but
now I'm getting the "data provider internal error -3000." Any
suggestions? Our timeline has moved up so we are trying to build today
instead of at the end of the month and I would really like to get this
in. :(

Susan

-----Original Message-----
From: Ron Grabowski [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 13, 2006 10:45 PM
To: Log4NET User
Subject: Re: Using Log4Net with Oracle

Do you have Oracle.DataAccess.dll in the application's bin directory?
Have you tried using the Oracle provider from the System.Data
namespace:

<connectionType value="System.Data.OracleClient.OracleConnection,
System.Data.OracleClient" />

http://tinyurl.com/75k4w
http://logging.apache.org/log4net/release/config-examples.html#adonetapp
ender-o9

--- Farley Susan <[EMAIL PROTECTED]> wrote:

>  
> As our application is distributed, I am trying to log messages to our 
> Oracle database. In the app.config, I have the following:
> 
> <appender name="AdoNetAppender"
> type="log4net.Appender.AdoNetAppender"
>       <bufferSize value="1" />
>       <connectionType
> value="Oracle.DataAccess.Client.OracleConnection, Oracle.DataAccess,
> Version 10.1.0.200,                           Culture=neutral,
> PublicKeyToken=89b483f429c47342"/>
>       <connectionString value="Data Source=(local); user id = user; 
> password = password"/> ....
> </appender>
> 
> When I run my application and the database appender tries to 
> initialize, I get the following error in the 
> log4net.Appender.AdoNetAppender ResolveConnectionType function:
> "File or assembly name Oracle.DataAccess, or one of its dependencies, 
> was not found."
> And clues as to how to resolve this problem? I'm using Log4Net 1.2.10
> 
> Thank you,
> Susan
> 

Reply via email to