Skip to main content
Nintex Community Menu Bar

Using log4net for logging in custom service broker

  • Apr 24, 2019 10:27 AM UTC
  • 2 replies
  • 93 views
  • Translate All

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.?

2 replies

Forum|alt.badge.img+8
  • Apr 24, 2019 1:44 PM UTC

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

VJay
Forum|alt.badge.img+9
  • Apprentice
  • Apr 30, 2019 5:45 AM UTC

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