1

我将我的视觉工作室更新到 16.4,现在我什至无法打开 IDE。

这是我收到的错误。 在此处输入图像描述

  • 我试图修复并得到同样的错误
  • 我使用Geek Uninstaller并重新安装进行了完全删除,但仍然出现相同的错误。
  • 安全模式产生相同的错误消息

谷歌搜索与此类似的错误消息解决方案

具有讽刺意味的是,我首先尝试将此报告给视觉工作室团队,最终导致我访问此链接。问题是,我无法打开视觉工作室。

我确实设法打开了一个支持请求,但我预计几天内不会收到回复,我需要启动并运行我的开发设置,所以这也是我在这里发帖的原因。

E:忘记日志

E2:我撒谎了,我无法打开支持请求。看来我要付钱?

E3:安全模式->同样的错误

12/05/2019 15:26:11 Eastern Standard Time : Error : Failed to start host 'desktopClr.x86$IdentityHost': Microsoft.ServiceHub.Utility.ServiceHubError: code: 'Hub host 'IdentityHost', PID: 9636 exited.'-532462766. (ErrorKind: HostExited) HResult='-2146233088' 
12/05/2019 15:26:11 Eastern Standard Time : Error : Error starting service 'IdentityStorageService' requested by StorageServiceClient (pid:2456): Failed to start host 'desktopClr.x86$IdentityHost' (ErrorKind: Error HResult: 8013153B)
12/05/2019 15:26:11 Eastern Standard Time : Error : Microsoft.ServiceHub.Utility.ServiceHubError: Failed to start host 'desktopClr.x86$IdentityHost' (ErrorKind: Error HResult: 8013153B) HResult='-2146233088' 
   at Microsoft.ServiceHub.Controller.LocationService.<StartServiceAsync>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.LocationService.<GetHostedServiceLocationAsync>d__71.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.ServiceHub.Controller.LocationService.<LocateAsync>d__39.MoveNext()
===InnerException===
System.OperationCanceledException: The operation was canceled. HResult='-2146233029' 
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at Microsoft.VisualStudio.Threading.ThreadingTools.<WithCancellationSlow>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.HostInfo.<GetEndPointAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.LocationService.<StartServiceAsync>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
12/05/2019 15:26:13 Eastern Standard Time : Error : Error starting service 'IdentityStorageService' requested by StorageServiceClient (pid:2456): Failed to start host 'desktopClr.x86$IdentityHost' (ErrorKind: Error HResult: 8013153B)
12/05/2019 15:26:13 Eastern Standard Time : Error : Failed to start host 'desktopClr.x86$IdentityHost': Microsoft.ServiceHub.Utility.ServiceHubError: code: 'Hub host 'IdentityHost', PID: 5076 exited.'-532462766. (ErrorKind: HostExited) HResult='-2146233088' 
12/05/2019 15:26:13 Eastern Standard Time : Error : Microsoft.ServiceHub.Utility.ServiceHubError: Failed to start host 'desktopClr.x86$IdentityHost' (ErrorKind: Error HResult: 8013153B) HResult='-2146233088' 
   at Microsoft.ServiceHub.Controller.LocationService.<StartServiceAsync>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.LocationService.<GetHostedServiceLocationAsync>d__71.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.ServiceHub.Controller.LocationService.<LocateAsync>d__39.MoveNext()
===InnerException===
System.OperationCanceledException: The operation was canceled. HResult='-2146233029' 
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at Microsoft.VisualStudio.Threading.ThreadingTools.<WithCancellationSlow>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.HostInfo.<GetEndPointAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.LocationService.<StartServiceAsync>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
12/05/2019 15:26:13 Eastern Standard Time : Error : Error starting service 'VsixServiceDiscovery' requested by VsixServiceDiscovery-extensionManager (pid:10144): Failed to start host 'desktopClr.x86$VSDetouredHost' (ErrorKind: Error HResult: 8013153B)
12/05/2019 15:26:13 Eastern Standard Time : Error : Microsoft.ServiceHub.Utility.ServiceHubError: Failed to start host 'desktopClr.x86$VSDetouredHost' (ErrorKind: Error HResult: 8013153B) HResult='-2146233088' 
   at Microsoft.ServiceHub.Controller.LocationService.<StartServiceAsync>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.LocationService.<GetHostedServiceLocationAsync>d__71.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.ServiceHub.Controller.LocationService.<LocateAsync>d__39.MoveNext()
===InnerException===
System.OperationCanceledException: The operation was canceled. HResult='-2146233029' 
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at Microsoft.VisualStudio.Threading.ThreadingTools.<WithCancellationSlow>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.HostInfo.<GetEndPointAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.LocationService.<StartServiceAsync>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
12/05/2019 15:26:13 Eastern Standard Time : Error : StreamJsonRpc.RemoteInvocationException: Failed to start host 'desktopClr.x86$VSDetouredHost' (ErrorKind: Error HResult: 8013153B) HResult='-2146233088' 
   at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__96`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Framework.RemoteServiceBroker.<GetPipeAsync>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Client.HubClient.<GetPipeAsync>d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Client.HubClient.<RequestServiceAsync>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.DiscoveryServiceProxy.<GetDiscoveryServiceProxyAsync>d__7.MoveNext()
12/05/2019 15:26:13 Eastern Standard Time : Error : Error starting service 'extensionManager' requested by ExtensionManagerServiceProxy (pid:2456): Cannot find service module info file 'extensionManager.servicehub.service.json' in 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\ServiceHub\Services' (ErrorKind: ServiceModuleInfoNotFound)
12/05/2019 15:26:13 Eastern Standard Time : Error : Microsoft.ServiceHub.Utility.ServiceHubError: Cannot find service module info file 'extensionManager.servicehub.service.json' in 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\ServiceHub\Services' (ErrorKind: ServiceModuleInfoNotFound) HResult='-2146233088' 
   at Microsoft.ServiceHub.Controller.ServiceDiscovery.<GetServiceModuleInfoAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.LocationService.<GetHostedServiceLocationAsync>d__71.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.ServiceHub.Controller.LocationService.<LocateAsync>d__39.MoveNext()
12/05/2019 15:26:14 Eastern Standard Time : Error : Error starting service 'IdentityStorageService' requested by StorageServiceClient (pid:2456): Failed to start host 'desktopClr.x86$IdentityHost' (ErrorKind: Error HResult: 8013153B)
12/05/2019 15:26:14 Eastern Standard Time : Error : Failed to start host 'desktopClr.x86$IdentityHost': Microsoft.ServiceHub.Utility.ServiceHubError: code: 'Hub host 'IdentityHost', PID: 12996 exited.'-532462766. (ErrorKind: HostExited) HResult='-2146233088' 
12/05/2019 15:26:14 Eastern Standard Time : Error : Microsoft.ServiceHub.Utility.ServiceHubError: Failed to start host 'desktopClr.x86$IdentityHost' (ErrorKind: Error HResult: 8013153B) HResult='-2146233088' 
   at Microsoft.ServiceHub.Controller.LocationService.<StartServiceAsync>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.LocationService.<GetHostedServiceLocationAsync>d__71.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.ServiceHub.Controller.LocationService.<LocateAsync>d__39.MoveNext()
===InnerException===
System.OperationCanceledException: The operation was canceled. HResult='-2146233029' 
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at Microsoft.VisualStudio.Threading.ThreadingTools.<WithCancellationSlow>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.HostInfo.<GetEndPointAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.LocationService.<StartServiceAsync>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
12/05/2019 15:26:15 Eastern Standard Time : Error : Error starting service 'IdentityStorageService' requested by StorageServiceClient (pid:2456): Failed to start host 'desktopClr.x86$IdentityHost' (ErrorKind: Error HResult: 8013153B)
12/05/2019 15:26:15 Eastern Standard Time : Error : Microsoft.ServiceHub.Utility.ServiceHubError: Failed to start host 'desktopClr.x86$IdentityHost' (ErrorKind: Error HResult: 8013153B) HResult='-2146233088' 
   at Microsoft.ServiceHub.Controller.LocationService.<StartServiceAsync>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.LocationService.<GetHostedServiceLocationAsync>d__71.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.ServiceHub.Controller.LocationService.<LocateAsync>d__39.MoveNext()
===InnerException===
System.OperationCanceledException: The operation was canceled. HResult='-2146233029' 
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at Microsoft.VisualStudio.Threading.ThreadingTools.<WithCancellationSlow>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.HostInfo.<GetEndPointAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Controller.LocationService.<StartServiceAsync>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
4

3 回答 3

1

我相信 Hans 的评论是指您的反恶意软件可能会阻止或延迟在 VS 启动期间不应该发生的事情,而不是您通过更新 VS 获得恶意软件。

我目前正在与我们的 IT 部门一起解决这个问题,因为我们无法自行配置或禁用这些功能。在此之前,我们的阻止程序阻止了部分更新/修复过程。解决后,它仍然存在这个新错误。

如果您确实有能力禁用您的恶意软件检查程序/阻止程序并再次尝试该过程,这可能是一种有效的故障排除方法。

如果/何时为我解决这个问题,我会更新。

于 2019-12-11T16:55:18.983 回答
0

我有这个确切的问题。我相信是因为使用系统还原来还原到 VS 16.4.1 升级之前以修复归因于 Windows 更新的硬件问题。通过编辑注册表修复了硬件问题。使用 VS,我尝试了两次修复,但均未成功。最后使用 Visual Studio Installer 卸载并重新安装已解决问题。

于 2019-12-11T22:34:22.497 回答
0

这些步骤对我有用。

第 1 步:用户左键单击“开始(按钮)” 在此处输入图像描述

第 2 步:键入“Visual Studio 安装程序”在此处输入图像描述

最后一步:转到更多->修复。

它对我有用。谢谢。

于 2020-09-23T05:53:00.873 回答