Does the assembly exist ni the appropriate location? Log4net is basically doing 
this:

Type connectionType = Type.GetType("Oracle.DataAccess.Client.OracleConnection, 
Oracle.DataAccess");
IDbConnection connection = 
(IDbConnection)Activator.CreateInstance(connectionType);

Try getting that to run in a normal program without using log4net.

----- Original Message ----
From: "Farley, Susan" <[EMAIL PROTECTED]>
To: Log4NET User <[email protected]>
Sent: Thursday, September 20, 2007 1:48:13 PM
Subject: Upgrading Oracle

Message

 

I've upgraded the 
Oracle OPD that my application is using, but am having an issue getting it 
right 
for Log4Net. For the AdoNetAppender, I have the 
following:

<connectionType 
value="Oracle.DataAccess.Client.OracleConnection, Oracle.DataAccess, 
Version=2.102.2.20, Culture=neutral, PublicKeyToken=89bf483f429c47342" 
/>

 

When I run my 
application, I get the following error from the 
logger:

"Failed to load 
connection type [Oracle.DataAccess.Client.OracleConnection, Oracle.DataAccess, 
Version=2.102.2.20, Culture=neutral, 
PublicKeyToken=89bf483f429c47342]

 

Any 
ideas?

 

Thank 
you,

Susan



Reply via email to