I'm using Log4Net as a logging service in my webApp. I've the Micorosoft Monitoring Agent (8.0.10918.0) installed in my machine (Windows Server 2016 DataCenter) using SCOM 2016 (7.2.11719.0).
The IIS Web Application Pool launching the webapp is crashing by the APM Agent in Microsoft Monitoring Agent. This issue has been already discussed in several posts like:
I've downgraded the Log4Net to 2.0.8.0 which is working fine. All the other version upto the latest version have this issue.
I'm using some other dll's supporting my webApp but this(Log4Net.dll) is the one causing the issue.
Can anyone address what exactly the issue is and what is the root cause for the issue? Why the latest Log4Net versions above 2.0.8.0 having this issue? How to solve the issue without disabling the APM Agent, because the Log4Net 2.0.8.0 is working with the same APM Agent?
It is hard to find this root cause. But reference to official document :APM feature causes a crash
Maybe it's similar reason: Memory allocation conflict.