Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've recently tried to upgrade my 7.5.10 site to 7.6.1
When launching the site after copying new files and merging configs, i now get log4net errors.
The file or the assembly 'log4net, Version = 184.108.40.206, Culture = neutral, PublicKeyToken = null' or one of its dependencies could not be loaded
i says in the docs there are breaking changes to log4net, so no surprise there. But what are the correct steps to make to get it to work?
What I did:
Is this the correct way of doing the upgrade?
You need to merge web.config with your local, there are few changes, not only new log4net assembly binding. Try to use WinMerge for merging configs.
Of course i have merged the other changes as well :)
This is what is shown in the 7.6.1 web.config
<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-220.127.116.11" newVersion="18.104.22.168"/>
There is no such thing in my current web.config
It seems someone tried this before. And found som kind of fix.
Worked for me!
Well - it worked momentarily. I keep getting errors and in the end the Application Pool stops. So not good.
Anyone got another fix?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted