Skip to main content
Nintex Community Menu Bar

Using log4net for logging in custom service broker

  • April 24, 2019
  • 2 replies
  • 43 views
  • Translate

I am trying to use log4net in service to log the exceptions in a separate file but while doing so I am getting an issue. Post deployment of service broker dll and log4net in program files(x86)/K2 blackpearl/service broker, I'm getting an exception that Could not load file or assembly 'log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. The system cannot find the file specified.

Config file for log4net is there with all of the info required and also under assembly file.

Any solution for this.?

Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+8
  • 52 replies
  • April 24, 2019

Hello,


 


I would enable fusion logging and see the location the assembly is being loaded from, and then throw the asm there. My guess is either bin or gac is where we're looking.


 


Regards,


Matt


 


K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.

Translate

Forum|alt.badge.img+9
  • Apprentice
  • 105 replies
  • April 30, 2019

Try Loading the Log4Net Dll into GAC and Check. If it doesnt work, you can try copying the dll to Hostserver/Bin folder and check if it works.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings