Visual Studio 2010在启动时崩溃

时间:2012-12-14 17:18:40

标签: visual-studio-2010 tfs

我们多年来一直在这台机器上使用vs 2010(服务器2003),现在视觉工作室刚刚在启动时崩溃。根本没有办法运行它,它每次都会崩溃。

我尝试过Devenv.exe / SafeMode,resetsettings等同样的结果。我已经尝试重新安装vs2010,我已经尝试卸载并重新安装,同样的事情。

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


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


堆栈跟踪也有错误:


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)

我们确实使用TFS并且没有任何问题 关于为什么这种情况开始发生的任何想法,更重要的是, 我怎样才能解决这个问题?没有tfs组件似乎没有办法启动visual studio,无论如何我们还需要tfs。

5 个答案:

答案 0 :(得分:21)

以下为我工作

  1. 关闭VS的所有实例

  2. 转到[系统驱动器]:\用户[用户名] \ AppData \漫游\ Microsoft \ VisualStudio \ 10.0

  3. 从上面的文件夹中删除所有文件和文件夹。

  4. 并重新打开VS,一切都应该恢复正常。

答案 1 :(得分:1)

我卸载Power Tool(没用) 我安装最新的电动工具(没用) 我卸载TFS(它开始工作) 然后我再次安装TFS(它仍在工作:))

感谢并且通过Windows事件日志中的详细信息错误消息:

故障桶3292093736,类型5 事件名称:CLR20r3 回复:不可用 驾驶室ID:0

问题签名: P1:devenv.exe P2:10.0.30319.1 P3:4ba1fab3 P4:Microsoft.TeamFoundation.Common P5:10.0.0.0 P6:502e379e P7:4b6 P8:45 P9:System.MissingMethodException P10:

附件:

这些文件可在此处获取: C:\ Users \用户rahiljm \应用程序数据\本地\微软\的Windows \ WER \ ReportArchive \ Critical_devenv.exe_1e501d4117b8b2664a23a63826807fb1d894270_1b9a7992

分析符号: 重新检查解决方案:0 报告编号:f92dcd0f-91aa-11e2-8682-8c89a571d971 报告状态:0

答案 2 :(得分:1)

在被迫重新安装Visual Studio 2010以使BizTalk 2010 ESB正常工作之后,我遇到了这个问题。

我无法下载KB2581206,因为它似乎没有任何有效内容。然而,有一个替代下载也可以完成这项工作......

http://www.microsoft.com/en-us/download/details.aspx?id=29082

...这是Visual Studio 2010 SP1 Team Foundation Server兼容性GDR。

答案 3 :(得分:0)

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

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

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

答案 4 :(得分:0)

我遇到了同样的问题。

我重新安装了Visual Studio SP1并卸载了所有语言包的Net Framework。在那个问题解决之后。

相关问题