Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
10-31-2019 02:45 AM
12-12-2019 11:47 PM - last edited on 12-13-2019 01:30 PM by Ryan.Paredez
BadImageFormatException is something we have seen recently and our Devs are currently working on the fix. The fix will be coming very soon.
The root cause is a race condition when making IL transformations, which introduces nulls in the transformed IL.
This issue we're seeing is caused by a race condition where the agent injects multiple methods into the application for tracking business transactions. One of the methods injected is calling another method where the method signature exists but the method body doesn't yet. This results in the BadImageFormatException you're seeing.
Meanwhile, we have a workaround configuration to work around this issue without losing visibility. This workaround requires the following changes:
So our recommendation is to make the configuration change above, which will resolve the issue you're seeing now without having to wait for a new agent version. Once the new agent version comes out we recommend upgrading to that version(4.5.18) and then removing the config above from the configuration file.
02-10-2020 02:01 PM
Hi @Terje.Barth,
The .Net agent was updated in December (DOTNET-3700) to fix this issue https://docs.appdynamics.com/display/PRO45/Resolved+Issues+by+Month#ResolvedIssuesbyMonth-January202....
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
02-18-2020 09:40 AM
What would happen if a 4.5.18 or newer system still had the <full-no-dependency-mode enabled="false" /> flag in place?
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form