We are receiving a MethodAccessException from our Informix database driver due to DynaTrace instrumentation and I'm hoping someone has run into a similar issue and can help me work around.
The exception message is: Attempt by security transparent method 'IBM.Data.Informix.IfxCommand.ExecuteReader(...)' to call native code through method 'DynaTrace.Diagnostics.Agent.NativeAgent.getInstrumentationState()' failed. Methods must be security critical or...
Google search for this error indicates CAS at the heart of it. I'm not certain exactly how to resolve based on the following pages.
Thanks in advance!