|License Type||SaaS & On-Premise|
|Agent Mode||Assess & Protect|
|Main Product Category||.NET Agent|
The .NET agent doesn't start, and the following error message is displayed in the Tray application:
> The Contrast .NET service cannot start with another profiler attached
to IIS. COR_ENABLE_PROFILING: 0x01, COR_PROFILER:
The CLR Profiling API only allows a single agent to be attached to a .NET process. The Contrast .NET agent uses the Profiling API to perform data/code flow analysis and detect libraries used by the application.
Note: Many performance/APM tools - such as New Relic, AppDynamics and Dynatrace - also use the CLR Profiling API.
To resolve the issue, Contrast implemented profiler chaining that allows Contrast to run side-by-side with another profiling tool. To enable profiling, add the following to your contrast_security.yaml file: