Not able to load Agent.dll - .NET Agent fails to monitor a .NET application.

Document ID : KB000020306
Last Modified Date : 14/02/2018
Show Technical Document Details

Windows system can allow one active CLR profiler pointed by the system property COR_PROFILER. Make sure no other application profiler conflicts with the profiler interface used by the .NET Agent. You may need to disable all CLR profiler apps except Introscope .NET agent for monitoring your .NET apps. You need to ensure that your application is picking up the Intrsocope .NET agent nativeprofiler CLSID from this system property.

  1. Verify that the below Environment Variables exit:

    Cor_Enable_Profiling=0x1

    COR_PROFILER={5F048FC6-251C-4684-8CCA-76047B02AC98}

    com.wily.introscope.agentprofile=<install_dir>\wily\IntroscopeAgent.profile

  2. Check .NET Runtime uses the Agent Profiler : COR_PROFILER={5F048FC6-251C-4684-8CCA-76047B02AC98}

    Figure 1