Azure App Service throws Error Merging of ETL files has failed (0x80070070).

Aayush Suresh Jain 141 Reputation points
2022-06-08T14:41:12.717+00:00

I have an Azure App Service with NodeJS as it's development stack. From the past month , it's giving the following error :

Exception Type : System.Runtime.InteropServices.COMException
Message: Merging of ETL files has failed (0x80070070).
Failed method: DiagnosticsHub.StandardCollector.Host.Interop.ICollectionSession.Stop
Description: StopProfiler failed.

The first error seems to be suggesting a problem with Application Insights and "ApplicationInsightsProfiler".

There is not a specific way to recreate this but whenever I try to access the web-app it gives 500 Error on every request. The workaround I apply is by restarting the App Service every time we get this error.

Is there a way to resolve this error and avoid me having to restart the App Service every time?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,826 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,956 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jaliya Udagedara 2,736 Reputation points MVP
    2022-06-08T20:59:43.37+00:00

    Can you try updating App Insights Site extension and whether it works.

    Reference: https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/734