AI OnAI Off
Hi,
Which version of log4net do you have in the bin folder? What do you have in bindingRedirect (web.config)?
/Q
Hi Quan
We dont have any dependentAssembly in web.config to log4net.
We have vercion 1.2.13 on bin folder...
Juan
Hi,
I think that's the problem. Commerce 8.16.1 has a hard dependency on log4net 1.12.10 (this restriction is lifted in Commerce 8.17/CMS9).
What you can do now is to add this to your web.config/
<dependentAssembly> <assemblyIdentity name="log4net" publicKeyToken="xxx" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-1.3.0.0" newVersion="1.2.13.0" /> </dependentAssembly>
Regards,
/Q
Hi Quan
Thanks for quick reply.
The thing is that we allready have a lognet of a specific vercion, and we are not able to upgrade och downgrade.
But I manage to fix this with gacutil.exe -i log4net.dll
This make possible to have 2 different vercion of the same dll.
Thanks
Hi
I have a strange error in my installation of Episerver Commerce.
I have install all nuget packages, and for some developers are getting the error with log4net. We have try many things, but nothing works.
Have some have the same problem?
Here is the error:
Any Ideas?
Thanks