You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Ramaa Davanagere <RD...@mobius.com> on 2005/09/07 17:45:31 UTC

RE: File or assembly name log4net, or one of its dependencies, wa s no t found.

 

UILayer.dll, busContent.dll, log4net.dll, log4net.snk, ErrorHandler.dll,
ErrorHandler.tlb : All these files reside in the same directory (C:\program
files\companyenterprise\productname) folder.

 

UILayer, busContent: Visual Basic 6.0 components

ErrorHandler: C# Class library

 

Please let me know if you need more details.

 

 

-----Original Message-----
From: Ramaa Davanagere 
Sent: Wednesday, September 07, 2005 11:42 AM
To: 'log4net-user@logging.apache.org'
Subject: File or assembly name log4net, or one of its dependencies, was no t
found.

 

This error message is literally driving me insane. :-(

 

I'm calling a .net assembly (ErrorHandler.tlb) from my Visual Basic 6.0
component (called busContent.dll) and the .net assembly references log4net.
If I instantiate busContent.dll (which in turn calls ErrorHandler) thro my
sample exe application, errorhandler is instantiated and few test messages
are written to a text file. However, if I instantiate busContent thro' my
web application (resides in inetpub\samplewebapp\default.asp), I get the
error mentioned in the subject line. Why is this?

 

In my default.asp, this is what I have

 

Set clsUIFLow = CreateObject("UILayer.clsUIFlow") 

clsUIFLow.ProcessRequest Response, Request, session, server, Application

 

The ProcessRequest() function in turn instantiates busContent.

 

I have taken care of registering it in GAC and creating a strongname and all
that stuff.

 

Please help.