BadImageFormatException: Bad method token

If you are using AppDynamics version 4.5.17 or lower and receiving “BadImageFormatException: Bad method token” error while trying to access your application hosted on IIS, please update your AppDynamics to mitigate a known issue.

Attempt to load Oracle client libraries threw BadImageFormatException

I came across “System.BadImageFormatException” error while trying to migrate an application from Windows Server 2008 R2 to Windows Server 2012 R2. I will list possible root cause and solution for this issue in this post.

Error message:

Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.