Visual Studio 2010 在启动时崩溃

编程入门 行业动态 更新时间:2024-10-18 16:54:28
本文介绍了Visual Studio 2010 在启动时崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我们多年来一直在这台机器上使用 vs 2010(服务器 2003),现在 Visual Studio 刚开始在启动时崩溃.根本没有办法运行它,它只是每次都崩溃.

我试过 Devenv.exe/SafeMode、resetsettings 等,结果一样.我试过重新安装 vs2010,我试过卸载它并重新安装,同样的事情.

事件日志说它与团队基础服务器有关:

<小时>

事件类型 clr20r3、P1 devenv.exe、P2 10.0.30319.1、P3 4ba1fab3、P4 microsoft.teamfoundationmon、P5 10.0.0.0、P6 502e379e、P7 4b6、P8ception 45、P9 系统.><小时>

堆栈跟踪也有错误:

<小时>

应用程序:devenv.exe框架版本:v4.0.30319描述:进程因未处理的异常而终止.异常信息:System.MissingMethodException堆:在 Microsoft.VisualStudio.TeamFoundation.TeamFoundationHost+AuthenticateWorker.WorkCompleted(System.Object, System.Object, System.ComponentModel.AsyncCompletedEventArgs)在 Microsoft.TeamFoundation.Common.TfsBackgroundWorkerManager.worker_RunWorkerCompleted(System.Object, System.ComponentModel.RunWorkerCompletedEventArgs)在 System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(System.ComponentModel.RunWorkerCompletedEventArgs)在 System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(System.Object)在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)在 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)在 System.Windows.Threading.DispatcherOperation.InvokeImpl()在 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)在 System.Threading.ExecutionContext.runTryCode(System.Object)在 System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)在 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)在 System.Windows.Threading.DispatcherOperation.Invoke()在 System.Windows.Threading.Dispatcher.ProcessQueue()在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)在 MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)在 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)在 System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

<小时>

我们确实使用了 TFS,并且没有遇到任何问题.
关于为什么会发生这种情况的任何想法,更重要的是,我怎样才能解决这个问题?如果没有 tfs 组件,似乎没有任何方法可以启动 Visual Studio,无论如何我们都需要 tfs.

解决方案

问题似乎是与安装的 Team Foundation Server 2010 Power Tools 不兼容的 Windows 更新.当我安装最新版本的电动工具时,VS 停止崩溃.

http://visualstudiogallery.msdn.microsoft/c255a1e4-04ba-4f68-8f4e-cd473d6b971f

我已经删除了所有这些,但我想...谁知道...

We have been using vs 2010 for years on this machine, (server 2003) and now visual studio just started crashing on startup. there is no way to run it at all, it just crashes every time.

I've tried Devenv.exe /SafeMode, resetsettings, etc. same result. I've tried re-installing vs2010, I've tried un-installing it and re-installing, same thing.

The event log says it's to do with team foundation server:


EventType clr20r3, P1 devenv.exe, P2 10.0.30319.1, P3 4ba1fab3, P4 microsoft.teamfoundationmon, P5 10.0.0.0, P6 502e379e, P7 4b6, P8 45, P9 system.missingmethodexception, P10 NIL.


There is also an error with stack trace:


Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.MissingMethodException
Stack:
   at Microsoft.VisualStudio.TeamFoundation.TeamFoundationHost+AuthenticateWorker.WorkCompleted(System.Object, System.Object, System.ComponentModel.AsyncCompletedEventArgs)
   at Microsoft.TeamFoundation.Common.TfsBackgroundWorkerManager.worker_RunWorkerCompleted(System.Object, System.ComponentModel.RunWorkerCompletedEventArgs)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(System.ComponentModel.RunWorkerCompletedEventArgs)
   at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   at System.Threading.ExecutionContext.runTryCode(System.Object)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)


We do use TFS and have had no problems with it.
Any ideas as to why this started happening, and more importantly, how can I fix this? there does not appear to be any way to start visual studio without the tfs component, and we need tfs anyway.

解决方案

It looks like the problem was a windows update that was incompatible with the Team Foundation Server 2010 Power Tools that were installed. When I installed the latest version of the power tools, VS stopped crashing.

http://visualstudiogallery.msdn.microsoft/c255a1e4-04ba-4f68-8f4e-cd473d6b971f

I had removed all of that, but i guess.. who knows...

这篇关于Visual Studio 2010 在启动时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-30 18:52:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1398173.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:启动时   Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!