logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramaa Davanagere <RDAVA...@mobius.com>
Subject RE: File or assembly name log4net, or one of its dependencies, wa s no t found.
Date Wed, 07 Sep 2005 15:45:31 GMT

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


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.

View raw message