我将我的视觉工作室更新为16.4,现在我什至无法打开IDE。
Geek Uninstaller
进行了完全删除,然后重新安装,但仍然出现相同的错误。 通过Google搜索错误消息解决方案similar to this one
具有讽刺意味的是,我首先尝试将其报告给视觉工作室团队,最终导致我进入this link。问题是,我不能打开视觉工作室。
我确实设法提出了一个支持请求,但是几天都没收到答复,所以我需要启动并运行我的开发程序,所以这也是我在这里发布的原因。
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)
答案 0 :(得分:0)
我相信Hans的评论是指您的反恶意软件可能阻止或延迟了VS启动期间不应执行的操作,而不是您从更新VS中获取了恶意软件。
我目前正在与IT部门一起解决此问题,因为我们无法自行配置或禁用这些功能。在此之前,我们的阻止程序阻止了部分更新/修复过程。解决该问题后,它继续存在此新错误。
如果您确实能够禁用恶意软件检查程序/阻止程序并重试该过程,则可能是一种有说服力的故障排除方法。
如果为我解决此问题,我会进行更新。
答案 1 :(得分:0)
我有这个确切的问题。我相信是由于使用系统还原导致还原到VS 16.4.1升级之前,以便修复归因于Windows Update的硬件问题。通过编辑注册表解决了硬件问题。使用VS,我尝试修复两次,但均未成功。最后,使用Visual Studio Installer卸载并重新安装已解决了该问题。
答案 2 :(得分:-1)
这些步骤对我有用。
第1步:用户左键单击“开始(按钮)” enter image description here
第2步:键入“ Visual Studio安装程序” enter image description here
最终决赛: 转到更多->维修。
它对我有用。 谢谢。