System.UnauthorizedAccessException:
在diagnosticshub.standardcollector.host.interop.istandardcollectorservice.createSession(applicationSightsProfiler,version=2.4.60615.1,culture=neutral,publicKeyToken=b03f5f7f11d50a3a)
在Microsoft.ServiceProfiler.Collectors.StandardCollectorService.CreateSecureSessionWithAgent(ApplicationSightsProfiler,版本=2.4.60615.1,区域性=中性,PublicKeyToken=b03f5f7f11d50a3a)
在Microsoft.ServiceProfiler.Collectors.StandardCollectorBase.InitializeCore上(applicationSightsProfiler,版本=2.4.60615.1,区域性=中性,publicKeyToken=b03f5f7f11d50a3a)
在microsoft.serviceprofiler.collectors.detailedtracecollector.startmonitor上(applicationSightsProfiler,版本=2.4.60615.1,区域性=中性,publicKeyToken=b03f5f7f11d50a3a)
at system.threading.tasks.task`1.innerinvoke(mscorlib,version=4.0.0.0,culture=neutral,publickeytoken=b7a5c561934e089)
在system.threading.tasks.task.execute(mscorlib,version=4.0.0.0,culture=neutral,publickeytoken=b7a5c561934e089)
在system.runtime.exceptionservices.exceptionDispatchInfo.throw(mscorlib,版本=4.0.0.0,区域性=中性,publicKeyToken=b7a5c561934e089)
在system.runtime.compilerservices.taskwaiter.handlenonsuccessanddebuggernotification(mscorlib,version=4.0.0.0,culture=neutral,publicKeytoken=b7a5c561934e089)
位于microsoft.serviceprofiler.agent.orchestration.orchestrator+d ou 15.movenext(microsoft.serviceprofiler.agent.orchestration,version=2.4.60615.1,culture=neutral,publickeytoken=b03f5f7f11d50a3a)
因为在堆栈跟踪中没有对我的代码的跟踪,所以我不知道它发生在哪里。
在此之前发生的唯一事件是这个“stopprofiler触发的”跟踪事件(它不是我的)
有人知道吗?
异常属性
-
活动时间:2018年7月15日下午2:06:30
-
消息:访问被拒绝。(来自hresult的异常:0x80070005(e_accessdenied))
-
异常类型:System.UnauthorizedAccessException
-
失败的方法:DiagnosticShub.StandardCollector.Host.Interop.IstandardCollector Service.CreateSession
自定义数据
-
代理版本2.4.60615.1
-
议程E578E3EF-238B-496D-B4F1-928321A8C405
-
机器名称RD00155D523178
-
说明StartProfiler失败。
-
运行模式心宿二
-
源应用程序洞察力配置程序
调用堆栈
System.UnauthorizedAccessException:
在diagnosticshub.standardcollector.host.interop.istandardcollectorservice.createSession(applicationSightsProfiler,version=2.4.60615.1,culture=neutral,publicKeyToken=b03f5f7f11d50a3a)
在Microsoft.ServiceProfiler.Collectors.StandardCollectorService.CreateSecureSessionWithAgent(ApplicationSightsProfiler,版本=2.4.60615.1,区域性=中性,PublicKeyToken=b03f5f7f11d50a3a)
在Microsoft.ServiceProfiler.Collectors.StandardCollectorBase.InitializeCore上(applicationSightsProfiler,版本=2.4.60615.1,区域性=中性,publicKeyToken=b03f5f7f11d50a3a)
在microsoft.serviceprofiler.collectors.detailedtracecollector.startmonitor上(applicationSightsProfiler,版本=2.4.60615.1,区域性=中性,publicKeyToken=b03f5f7f11d50a3a)
at system.threading.tasks.task`1.innerinvoke(mscorlib,version=4.0.0.0,culture=neutral,publickeytoken=b7a5c561934e089)
在system.threading.tasks.task.execute(mscorlib,version=4.0.0.0,culture=neutral,publickeytoken=b7a5c561934e089)
在system.runtime.exceptionservices.exceptionDispatchInfo.throw(mscorlib,版本=4.0.0.0,区域性=中性,publicKeyToken=b7a5c561934e089)
在system.runtime.compilerservices.taskwaiter.handlenonsuccessanddebuggernotification(mscorlib,version=4.0.0.0,culture=neutral,publicKeytoken=b7a5c561934e089)
位于microsoft.serviceprofiler.agent.orchestration.orchestrator+d ou 15.movenext(microsoft.serviceprofiler.agent.orchestration,version=2.4.60615.1,culture=neutral,publickeytoken=b03f5f7f11d50a3a)