ELK .NET Agent is impacting AZ Commands when application starts Working

HI Team,

Kibana version: 8.6.1

Elasticsearch version: 8.6.2

APM Server version: 8.6.1

APM Agent language and version: dotnet Agent version1.21.0

Our Application is deployed in HA with Active - Active mode. we have deployed the ELK .NET Agent on the Servers and it was working fine.

But While Application Transaction failing internal for AZ commands and give below error message which is pointing to ELK APM Agent.

1
<![CDATA[Error:
Could not load file or assembly 'file:///C:\elastic_apm_profiler_1.23.0\net462\System.Runtime.CompilerServices.Unsafe.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
]]>

Now we have stopped the Agent due this issue. we even upgrade to latest Agent bitz but also same issue.

Thanks & Regards,
Vijay Kumar Kammar.

Hi @Vijay.kumarkammar ,

I assume the issue is that you set the environment variables for the profiler based agent machine-wide. Can that be the case?

If that's not the case, can you tell me how you enabled the agent?

If that's not the case, then one workaround would be to make sure you only set the environment variables for applications that you want to monitor - and not globally.

I'm not familiar with your exact environment, but I hope these pointers help.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.