How to fix “Internal Diagnostics Hub Exception” in VS 2015 Update 1?

前端 未结 7 944
南笙
南笙 2020-12-01 16:04

I\'ve just updated to Visual Studio 2015 Update 1, and I\'m getting the error whenever I start debugging:

Internal Diagnostics Hub Exception. See log

7条回答
  •  鱼传尺愫
    2020-12-01 16:09

    I am also having the same issue on one of my installations (an upgrade from Update 1 versus a clean ISO install of the Update 2 RC bits which works). It should be noted my installation was also missing the ScriptedHost.dll assembly which I had to manually copy over from the working system :\

    Debug --- ApplicationPathService --- Hub application path is 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Platform\DiagnosticsHub'
    Debug --- Scripted Control (PerformanceDebuggerSwimLanesView.manifest.json) --- Initializing the ScriptedControl with manifest file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Platform\DiagnosticsHub\WebViews\PerformanceDebuggerSwimLanesView.manifest.json'. Base directory 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions'
    Debug --- Scripted Control (PerformanceDebuggerSwimLanesView.manifest.json) --- Menu command service is provided for manifest 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Platform\DiagnosticsHub\WebViews\PerformanceDebuggerSwimLanesView.manifest.json'.
    Debug --- Document ('C:\Users\Jason\AppData\Local\Temp\Report20160308-1527.diagsession') --- Graph Update data packet 1 sent (size: 1073)
    Debug --- DataWarehouseInstance --- Request b1684120-6375-4091-a745-1c3d2aa2aa16: 'GraphUpdates' request to datawarehouse
    Error --- Scripted Control (PerformanceDebuggerSwimLanesView.manifest.json) --- Microsoft.DiagnosticsHub.Diagnostics.InternalHubException: ScriptedSandbox terminated during control initialization.
       at     Microsoft.DiagnosticsHub.VisualStudio.Presentation.Controls.VisualStudioScriptedControl.ScriptedControlOnTerminated(Object sender, EventArgs eventArgs)
       at Microsoft.VisualStudio.ScriptedHost.ScriptedControl.add_Terminated(EventHandler`1 value)
       at Microsoft.DiagnosticsHub.VisualStudio.Presentation.Controls.VisualStudioScriptedControl.Initialize(IScriptedControlConfiguration scriptedControlConfiguration)
    Error --- Service Microsoft.DiagnosticsHub.Presentation.Controls.ISwimLanesViewService implementation --- Could not create IScriptedControl.
    Error --- DispatcherProvider --- Unhandled exception on DispatcherProvider.Invoke
    Microsoft.DiagnosticsHub.Diagnostics.InternalHubException: Internal Diagnostics Hub Exception. See log for more details.
        at Microsoft.DiagnosticsHub.VisualStudio.Presentation.Controls.SwimLanesViewService.CreateControl(ViewDestinations viewDestinations, IEnumerable`1 swimLaneConfigurations)
        at Microsoft.DiagnosticsHub.Presentation.ViewModels.CustomViewsViewModel.OnActivated()
        at Microsoft.DiagnosticsHub.Presentation.ViewModels.PerformanceDebuggerDocumentViewModel.<>c__DisplayClass21_0.b__1()
        at Microsoft.DiagnosticsHub.Presentation.DispatcherProvider.<>c__DisplayClass5_0.b__0()
    

提交回复
热议问题