azure-application-insights - Application Insights E_ACCESSDENIED 异常,去哪里查看?

标签 azure-application-insights

我已经开始获取此信息(HRESULT 异常:0x80070005 (E_ACCESSDENIED)),为发布到 Azure 应用服务的 ASP.NET MVC 应用程序填充我的应用程序见解
由于堆栈跟踪中没有对我的代码的跟踪,因此我无法弄清楚它发生在哪里。

之前发生的唯一事件是“StopProfiler 已触发”跟踪事件(不是我的) enter image description here 有人有什么想法吗?

异常属性

  • Event time: 7/15/2018, 2:06:30 PM
  • Message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
  • Exception type: System.UnauthorizedAccessException
  • Failed method: DiagnosticsHub.StandardCollector.Host.Interop.IStandardCollectorService.CreateSession

自定义数据

  • AgentVersion 2.4.60615.1
  • AgentSession e578e3ef-238b-496d-b4f1-928321a8c405
  • MachineName rd00155d523178
  • Description StartProfiler failed.
  • RunningMode Antares
  • Source ApplicationInsightsProfiler

调用堆栈

System.UnauthorizedAccessException: at DiagnosticsHub.StandardCollector.Host.Interop.IStandardCollectorService.CreateSession (ApplicationInsightsProfiler, Version=2.4.60615.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) at Microsoft.ServiceProfiler.Collectors.StandardCollectorService.CreateSecureSessionWithAgent (ApplicationInsightsProfiler, Version=2.4.60615.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) at Microsoft.ServiceProfiler.Collectors.StandardCollectorBase.InitializeCore (ApplicationInsightsProfiler, Version=2.4.60615.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) at Microsoft.ServiceProfiler.Collectors.DetailedTraceCollector.StartMonitor (ApplicationInsightsProfiler, Version=2.4.60615.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) at System.Threading.Tasks.Task`1.InnerInvoke (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) at System.Threading.Tasks.Task.Execute (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) at Microsoft.ServiceProfiler.Agent.Orchestration.Orchestrator+d__15.MoveNext (Microsoft.ServiceProfiler.Agent.Orchestration, Version=2.4.60615.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)

最佳答案

此问题已在最新版本中修复。尝试升级到2.6.5。

您可以从 WebApp Extensions Blade 运行更新 或来自Application Insights Enablement Blade

关于azure-application-insights - Application Insights E_ACCESSDENIED 异常,去哪里查看?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51348637/

相关文章:

Azure Application Insights - 按时间戳的一部分进行汇总

c# - 如何设置 DependencyTelemetry 的 Application Insights AuthenticatedUserId?

.net - Azure Application Insights 未显示整个事件链(在事件驱动的应用程序中),但所有遥测数据都在那里

c# - 如何在 Azure 应用程序见解上忽略 localhost

azure-application-insights - Azure Application Insights中的用户代理信息

azure - Application Insights 中的用户流和 channel 功能之间的差异

c# - Application Insights 不记录性能计数器数据

Azure仪表板共享用户无法查看图表

java - 在 java 中使用 log4j 进行 Application Insights 日志记录

azure - Application Insights 跟踪日志到 OMS Log Analytics