• /
  • EnglishEspañol日本語한국어Português
  • ログイン今すぐ開始

Azure Web Apps troubleshooting: Issue with Always On

Problem

You installed New Relic's .NET agent through Microsoft Azure Web Apps and are using Azure's Always On setting. After generating some traffic and waiting a few minutes for data collection to start for your app, data still does not appear in the APM user interface.

Solution

Beginning with .NET agent version 8.22.181.0, Azure's Always On setting may be enabled without interfering with the agent. If you'd like to use Always On, simply update the agent.

.NET Framework 4.0 or lower workarounds

If your application targets .NET Framework 4.0 or lower, Azure's Always On setting will interfere with the agent. This feature is only available in Azure's Basic and Standard modes.

The Always On setting prevents the environment variable APP_POOL_ID from being set. New Relic's .NET agent needs this environment variable to get the app name. If the agent cannot determine an application name, then it won't start up.

If you are still using .NET Framework 4.0 or lower, try the following workarounds:

If you are using Microsoft's Standard or Basic tiers with the Azure Portal, ensure that the Always On setting is disabled.

  1. In the Azure Portal, select (your app) > Settings > Application Settings.
  2. Set the Always On toggle to Off.

Here are some other options you can try. If these do not work, you must turn off the Always On setting.

Copyright © 2024 New Relic株式会社。

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.