Problem
The .NET agent has been installed and the required App Settings are set, but no data appears, and no New Relic logs are created in D:\Home\Logfiles\NewRelic\
. In addition, when you use the Azure Kudu console's Process Explorer to inspect your application's Environment Variables, it shows the COR_PROFILER_PATH_64
and COR_PROFILER_PATH_32
are set and pointing to the following:
D:\Program Files (x86)\SiteExtensions\InstrumentationEngine\1.0.19\Instrumentation64\MicrosoftInstrumentationEngine_x64.dll
Solution
The .NET Common Language Runtime (CLR) only allows one profiler. If Microsoft's Application Insights profiler is installed on the system, the New Relic profiler will not instrument any applications, and no data will appear. For more information, see the Microsoft Azure Web Apps documentation.
To resolve this issue, remove or disable Application Insights from your application.
To remove the Application Insights Site Extension:
- Remove all settings related to Application Insights from Application > Settings > Application Settings and Save. This may include the following keys:
- Any key that begins with
APPINSIGHTS_
- Any key that begins with
APPLICATIONINSIGHTS_
- Any key that begins with
XDT_MicrosoftApplicationInsights_
DiagnosticServices_EXTENSION_VERSION
InstrumentationEngine_EXTENSION_VERSION
- Any key that begins with
- Remove the extension from Application > Tools > Extensions. Right-click the extension and Delete.
- Remove the Tile Add-On from your Application Panel (if present).
- Restart your application.
To disable Application Insights through the Azure Portal: Go to the Application Insights panel under the Settings. This may restart your app.
For more help
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's and and documentation.