SSMS立即崩溃

时间:2017-09-27 15:58:53

标签: sql-server

我的笔记本电脑上安装了SSMS 2017。每次我启动SSMS时,它都会在那里停留大约5秒钟,它会在没有我点击任何东西的情况下立即关闭/崩溃。我查看了事件查看器。以下是它的内容:

1).NET运行时

  
    

应用程序:Ssms.exe Framework版本:v4.0.30319描述:由于未处理的异常,进程已终止。例外信息:     System.NotImplementedException at     System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlType(BamlType,     Int16)at     System.Windows.Baml2006.Baml2006SchemaContext.GetXamlType(Int16)at at     System.Windows.Baml2006.Baml2006Reader.Process_ElementStart()at     System.Windows.Baml2006.Baml2006Reader.Process_OneBamlRecord()at     System.Windows.Baml2006.Baml2006Reader.ReadObject(System.Windows.Baml2006.KeyRecord)     在     System.Windows.ResourceDictionary.CreateObject(System.Windows.Baml2006.KeyRecord)     在System.Windows.ResourceDictionary.OnGettingValue(System.Object,     System.Object ByRef,Boolean ByRef)at     System.Windows.ResourceDictionary.OnGettingValuePrivate(System.Object的,     System.Object ByRef,Boolean ByRef)at     System.Windows.ResourceDictionary.GetValueWithoutLock(System.Object的,     布尔ByRef)at     System.Windows.ResourceDictionary.GetValue(System.Object,Boolean     ByRef)at     System.Windows.ResourceDictionary.FetchResource(System.Object的,     Boolean,Boolean,Boolean,Boolean ByRef)at     System.Windows.FrameworkElement.FindResourceInTree(System.Windows.FrameworkElement,     System.Windows.FrameworkContentElement,     System.Windows.DependencyProperty,System.Object,System.Object,     Boolean,Boolean,System.Windows.DependencyObject,     System.Windows.InheritanceBehavior ByRef,System.Object ByRef)at     System.Windows.FrameworkElement.FindResourceInternal(System.Windows.FrameworkElement,     System.Windows.FrameworkContentElement,     System.Windows.DependencyProperty,System.Object,System.Object,     Boolean,Boolean,System.Windows.DependencyObject,Boolean,     System.Object ByRef)at     System.Windows.FrameworkElement.FindImplicitStyleResource(System.Windows.FrameworkElement,     System.Object,System.Object ByRef)at     System.Windows.FrameworkElement.GetRawValue(System.Windows.DependencyProperty,     System.Windows.PropertyMetadata,System.Windows.EffectiveValueEntry     ByRef)at     System.Windows.FrameworkElement.EvaluateBaseValueCore(System.Windows.DependencyProperty,     System.Windows.PropertyMetadata,System.Windows.EffectiveValueEntry     ByRef)at     System.Windows.DependencyObject.EvaluateEffectiveValue(System.Windows.EntryIndex,     System.Windows.DependencyProperty,System.Windows.PropertyMetadata,     System.Windows.EffectiveValueEntry,     System.Windows.EffectiveValueEntry,System.Windows.OperationType)
    在     System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex,     System.Windows.DependencyProperty,System.Windows.PropertyMetadata,     System.Windows.EffectiveValueEntry,System.Windows.EffectiveValueEntry     ByRef,Boolean,Boolean,System.Windows.OperationType)at     System.Windows.DependencyObject.InvalidateProperty(System.Windows.DependencyProperty,     布局)在System.Windows.FrameworkElement.UpdateStyleProperty()
    在     System.Windows.TreeWalkHelper.OnResourcesChanged(System.Windows.DependencyObject,     System.Windows.ResourcesChangeInfo,Boolean)at     System.Windows.TreeWalkHelper.InvalidateOnResourcesChange(System.Windows.FrameworkElement,     System.Windows.FrameworkContentElement,     System.Windows.ResourcesChangeInfo)at     System.Windows.ResourceDictionary.NotifyOwners(System.Windows.ResourcesChangeInfo)     在     System.Windows.ResourceDictionary.SetKeys(System.Collections.Generic.IList`1,     System.IServiceProvider)at     System.Windows.ResourceDictionary.SetDeferrableContent(System.Windows.DeferrableContent)     在     System.Windows.Baml2006.WpfSharedBamlSchemaContext + LT;> c.b__297_0(System.Object的,     System.Object)at     System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(System.Object的,     System.Object)at     MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(System.Xaml.XamlMember,     System.Object,System.Object)at     MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(System.Object的,     System.Xaml.XamlMember,System.Object)

  
     

异常信息:System.Windows.Markup.XamlParseException at   System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader,   System.Xaml.IXamlObjectWriterFactory,Boolean,System.Object,   System.Xaml.XamlObjectWriterSettings,System.Uri)at   System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader,   Boolean,System.Object,System.Xaml.Permissions.XamlAccessLevel,   System.Uri)at   System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream,   System.Windows.Markup.ParserContext,System.Object,Boolean)at   System.Windows.Application.LoadComponent(System.Object,System.Uri)
  在Microsoft.VisualStudio.PlatformUI.VsStatusBar.InitializeComponent()   在   Microsoft.VisualStudio.PlatformUI.WorkerThreadStatusBarContainer.CreateRootUIElement()   在   Microsoft.Internal.VisualStudio.PlatformUI.WorkerThreadElementContainer.CreateHostedVisualWorker()   在   System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate,   System.Object,Int32)at   System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object的,   System.Delegate,System.Object,Int32,System.Delegate)at   System.Windows.Threading.DispatcherOperation.InvokeImpl()at   System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object的)   在   System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,   System.Threading.ContextCallback,System.Object,Boolean)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   MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext,   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,   Int.Ptr,布尔ByRef)在MS.Win32.HwndWrapper.WndProc(IntPtr,   Int32,IntPtr,IntPtr,Boolean ByRef)at   MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)at at   System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate,   System.Object,Int32)at   System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object的,   System.Delegate,System.Object,Int32,System.Delegate)at   System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority,   System.TimeSpan,System.Delegate,System.Object,Int32)at   MS.Win32.HwndSubclass.SubclassWndProc(IntPtr,Int32,IntPtr,IntPtr)
  在   MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG   ByRef)at   System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)   在   System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)   在   Microsoft.Internal.VisualStudio.PlatformUI.BackgroundDispatcher.ThreadProc(System.Object的)   在System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
  在   System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,   System.Threading.ContextCallback,System.Object,Boolean)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.Threading.ThreadHelper.ThreadStart(System.Object的)

2)应用程序错误

Faulting application name: Ssms.exe, version: 2017.140.17119.0, time stamp: 0x591bcf8a 
Faulting module name: KERNELBASE.dll, version:
6.1.7601.23864, time stamp: 0x595fa536 
Exception code: 0xe0434352 
Fault offset: 0x0000c54f 
Faulting process id: 0x250c 
Faulting application start time: 0x01d337a827d6ebfc 
Faulting application path: C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\Ssms.exe 
Faulting module path: C:\WINDOWS\syswow64\KERNELBASE.dll Report Id: 6f1ce4e3-a39b-11e7-9593-b8763fd92420

3)Windows错误报告

  
    

故障桶500,类型5事件名称:CLR20r3响应:不可用驾驶室ID:0

  
     

问题签名:P1:Ssms.exe P2:2017.140.17119.0 P3:591bcf8a P4:   PresentationFramework P5:4.6.1099.0 P6:58d87db9 P7:f9b P8:5b P9:   System.Windows.Markup.XamlParse P10:

为什么会发生这种情况,我该怎么做才能解决它?

1 个答案:

答案 0 :(得分:0)

我在SSMS 17.9上遇到了完全相同的问题,这似乎是由于我从计算机上的两个Microsoft Visual Studio版本中卸载了一个引起的。

经过两天的尝试,仅重新安装SSMS,修复,SSMS,尝试修复.NET文件,重新启动并从appdata目录中清除文件, 对我来说,唯一解决此问题的方法就是卸载以下所有程序:

  • SSMS
  • Microsoft Visual Studio 2015 Shell(独立)
  • 用于应用程序的Microsoft Visual Studio工具2015
  • Microsoft Visual Studio Tools for Applications 2015语言支持

然后,我再次运行SSMS安装程序,它将安装所有其他三个程序以及SSMS。自从这样做以来,我再也没有看到这个问题。

希望这会有所帮助!