eWay-CRM Desktop add-in cannot be activated due to missing log4net library

Description

Add-in cannot be activated. There is this error in the log:

--- 2023-09-04 07:03:46,098 [OUTLOOK] ERROR [HASH: F9EDBE49373982282B8DDD3ABAEF76BF] ---
Unable to finish initialization
System.TypeInitializationException: The type initializer for eWay.Core.GUI.Helpers.OutlookDefaultDomainProxy threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly log4net, Version=2.0.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a or one of its dependencies. The system cannot find the file specified.  Server stack trace: 
   v eWay.Core.LogConfigurator.Configure(Assembly assembly, String configurationFileName)
   v eWay.Core.LogConfigurator.Configure()
   v eWay.Core.GUI.Common.Helpers.DomainSetupHelper.SetUp(Boolean subscribeEvents, Boolean setStyle)
   v System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   v System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]: 
   v System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   v System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   v eWay.Core.GUI.Common.Helpers.DomainSetupHelper.SetUp(Boolean subscribeEvents, Boolean setStyle)
   v eWay.Core.GUI.Helpers.OutlookDefaultDomainProxy..cctor()
   --- End of inner exception stack trace ---
   v eWay.Core.GUI.Helpers.OutlookDefaultDomainProxy.InitializeRemoting()
   v eWay.Core.Office.AgentLoader.Initialize()
   v eWay.Core.Office.AgentLoader.<>c.<StartInitialization>b__24_1()
--- END TRACE ---

Version

All versions of eWay-CRM

Difficulty

Low

Resolution

The log4net.dll file does not exist in the installation folder of eWay-CRM or is corrupted.

You need to uninstall eWay-CRM and install it again.