SSMS 19 closes immediately after startup

Ali Fahimi 0 Reputation points
2023-02-23T13:58:55.47+00:00

Hi,

I installed SSMS 19.0.1 build 19.0.20200.0 recently, however after first reboot it crash immediately after starting up, only a white blank screen and it closes.

I checked event log viewer and getting some information and some errors which I share here every time I try to run SSMS:

Information in event log:

Fault bucket 1477542647832911474, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: Ssms.exe
P2: 2023.160.20200.0
P3: 63daa352
P4: Microsoft.VisualStudio.Platform.WindowManagement
P5: 15.0.28307.540
P6: ae120a0b
P7: 157
P8: 6b
P9: System.NullReferenceException
P10:

Analysis symbol:
Rechecking for solution: 0
Report Id: 63b03d6f-a321-49ec-b407-934fd533c715
Report Status: 268435456
Hashed bucket: 823c355e853a183ed4814935b8921e72
Cab Guid: 0


Error Type one in event log:

Faulting application name: Ssms.exe, version: 2023.160.20200.0, time stamp: 0x63daa352
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc000041d
Fault offset: 0x2ba21e1a
Faulting process id: 0xb64
Faulting application start time: 0x01d94685b5406660
Faulting application path: C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE\Ssms.exe
Faulting module path: unknown
Report Id: 63b03d6f-a321-49ec-b407-934fd533c715
Faulting package full name:
Faulting package-relative application ID:


Error Type Two in event log:

Application: Ssms.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at Microsoft.VisualStudio.Platform.WindowManagement.LinearGradient.CreateBrush(System.Windows.ResourceDictionary)
at Microsoft.VisualStudio.Platform.WindowManagement.DeferredResourceDictionary.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, Boolean ByRef)
at System.Windows.ResourceDictionary.GetValue(System.Object, Boolean ByRef)
at System.Windows.ResourceDictionary.GetValueWithoutLock(System.Object, Boolean 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.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.StyleHelper.GetChildValueHelper(System.Windows.UncommonField1<System.Collections.Specialized.HybridDictionary[]>, MS.Utility.ItemStructList1<System.Windows.ChildValueLookup> ByRef, System.Windows.DependencyProperty, System.Windows.DependencyObject, MS.Internal.FrameworkObject, Int32, Boolean, System.Windows.EffectiveValueEntry ByRef, System.Windows.ValueLookupType ByRef, System.Windows.FrameworkElementFactory)
at System.Windows.StyleHelper.GetChildValue(System.Windows.UncommonField1<System.Collections.Specialized.HybridDictionary[]>, System.Windows.DependencyObject, Int32, MS.Internal.FrameworkObject, System.Windows.DependencyProperty, MS.Utility.FrugalStructList1<System.Windows.ChildRecord> ByRef, System.Windows.EffectiveValueEntry ByRef, System.Windows.ValueLookupType ByRef, System.Windows.FrameworkElementFactory)
at System.Windows.StyleHelper.GetValueFromTemplatedParent(System.Windows.DependencyObject, Int32, MS.Internal.FrameworkObject, System.Windows.DependencyProperty, MS.Utility.FrugalStructList1<System.Windows.ChildRecord> ByRef, System.Windows.FrameworkElementFactory, System.Windows.EffectiveValueEntry ByRef) at System.Windows.FrameworkElement.GetValueFromTemplatedParent(System.Windows.DependencyProperty, System.Windows.EffectiveValueEntry 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) at 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, Boolean) at System.Windows.StyleHelper.InvalidateResourceDependentsForChild(System.Windows.DependencyObject, System.Windows.DependencyObject, Int32, System.Windows.ResourcesChangeInfo, System.Windows.FrameworkTemplate) at System.Windows.TreeWalkHelper.InvalidateStyleAndReferences(System.Windows.DependencyObject, System.Windows.ResourcesChangeInfo, Boolean) at System.Windows.TreeWalkHelper.OnResourcesChanged(System.Windows.DependencyObject, System.Windows.ResourcesChangeInfo, Boolean) at System.Windows.FrameworkElement.OnAncestorChangedInternal(System.Windows.TreeChangeInfo) at System.Windows.TreeWalkHelper.OnAncestorChanged(System.Windows.DependencyObject, System.Windows.TreeChangeInfo, Boolean) at System.Windows.DescendentsWalker1[[System.Windows.TreeChangeInfo, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]._VisitNode(System.Windows.DependencyObject, Boolean)
at MS.Internal.PrePostDescendentsWalker1[[System.Windows.TreeChangeInfo, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]._VisitNode(System.Windows.DependencyObject, Boolean) at System.Windows.DescendentsWalker1[[System.Windows.TreeChangeInfo, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitNode(System.Windows.FrameworkElement, Boolean)
at System.Windows.DescendentsWalker1[[System.Windows.TreeChangeInfo, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].VisitNode(System.Windows.DependencyObject, Boolean) at System.Windows.DescendentsWalker1[[System.Windows.TreeChangeInfo, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].WalkLogicalChildren(System.Windows.FrameworkElement, System.Windows.FrameworkContentElement, System.Collections.IEnumerator)
at System.Windows.DescendentsWalker1[[System.Windows.TreeChangeInfo, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].WalkFrameworkElementLogicalThenVisualChildren(System.Windows.FrameworkElement, Boolean) at System.Windows.DescendentsWalker1[[System.Windows.TreeChangeInfo, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].IterateChildren(System.Windows.DependencyObject)
at System.Windows.DescendentsWalker1[[System.Windows.TreeChangeInfo, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].StartWalk(System.Windows.DependencyObject, Boolean) at MS.Internal.PrePostDescendentsWalker1[[System.Windows.TreeChangeInfo, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].StartWalk(System.Windows.DependencyObject, Boolean)
at System.Windows.TreeWalkHelper.InvalidateOnTreeChange(System.Windows.FrameworkElement, System.Windows.FrameworkContentElement, System.Windows.DependencyObject, Boolean)
at System.Windows.FrameworkElement.OnVisualParentChanged(System.Windows.DependencyObject)
at System.Windows.Media.Visual.FireOnVisualParentChanged(System.Windows.DependencyObject)
at System.Windows.Media.Visual.RemoveVisualChild(System.Windows.Media.Visual)
at System.Windows.FrameworkElement.set_TemplateChild(System.Windows.UIElement)
at System.Windows.FrameworkTemplate.WireRootObjectToParent(System.Object, System.Windows.DependencyObject, System.Windows.DependencyObject, System.Windows.FrameworkElement, System.Windows.Markup.INameScope)
at System.Windows.FrameworkTemplate.HandleBeforeProperties(System.Object, System.Windows.DependencyObject ByRef, System.Windows.DependencyObject, System.Windows.FrameworkElement, System.Windows.Markup.INameScope)
at System.Windows.FrameworkTemplate+<>c__DisplayClass45_0.b__2(System.Object, System.Xaml.XamlObjectEventArgs)
at System.Xaml.XamlObjectWriter.OnBeforeProperties(System.Object)
at System.Xaml.XamlObjectWriter.Logic_CreateAndAssignToParentStart(MS.Internal.Xaml.Context.ObjectWriterContext)
at System.Xaml.XamlObjectWriter.WriteStartMember(System.Xaml.XamlMember)
at System.Xaml.XamlWriter.WriteNode(System.Xaml.XamlReader)
at System.Windows.FrameworkTemplate.LoadTemplateXaml(System.Xaml.XamlReader, System.Xaml.XamlObjectWriter)
at System.Windows.FrameworkTemplate.LoadTemplateXaml(System.Xaml.XamlObjectWriter)
at System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(System.Windows.DependencyObject, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector, System.Collections.Generic.List1<System.Windows.DependencyObject>, System.Windows.UncommonField1<System.Collections.Hashtable>)
at System.Windows.FrameworkTemplate.LoadContent(System.Windows.DependencyObject, System.Collections.Generic.List1<System.Windows.DependencyObject>) at System.Windows.StyleHelper.ApplyTemplateContent(System.Windows.UncommonField1<System.Collections.Specialized.HybridDictionary[]>, System.Windows.DependencyObject, System.Windows.FrameworkElementFactory, Int32, System.Collections.Specialized.HybridDictionary, System.Windows.FrameworkTemplate)
at System.Windows.FrameworkTemplate.ApplyTemplateContent(System.Windows.UncommonField1<System.Collections.Specialized.HybridDictionary[]>, System.Windows.FrameworkElement) at System.Windows.FrameworkElement.ApplyTemplate() at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size) at System.Windows.UIElement.Measure(System.Windows.Size) at System.Windows.Controls.DockPanel.MeasureOverride(System.Windows.Size) at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size) at System.Windows.UIElement.Measure(System.Windows.Size) at System.Windows.Controls.Control.MeasureOverride(System.Windows.Size) at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size) at System.Windows.UIElement.Measure(System.Windows.Size) at Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(System.Windows.Size, System.Windows.Controls.Orientation, System.Collections.Generic.IEnumerable1<Microsoft.VisualStudio.PlatformUI.SplitterMeasureData>, Boolean)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
at System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.DockPanel.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(System.Windows.Size, System.Windows.Controls.Orientation, System.Collections.Generic.IEnumerable1<Microsoft.VisualStudio.PlatformUI.SplitterMeasureData>, Boolean) at Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(System.Windows.Size) at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size) at System.Windows.UIElement.Measure(System.Windows.Size) at System.Windows.Controls.Control.MeasureOverride(System.Windows.Size) at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size) at System.Windows.UIElement.Measure(System.Windows.Size) at MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size) at System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size) at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size) at System.Windows.UIElement.Measure(System.Windows.Size) at System.Windows.Controls.DockPanel.MeasureOverride(System.Windows.Size) at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size) at System.Windows.UIElement.Measure(System.Windows.Size) at System.Windows.Controls.Control.MeasureOverride(System.Windows.Size) at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size) at System.Windows.UIElement.Measure(System.Windows.Size) at Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(System.Windows.Size, System.Windows.Controls.Orientation, System.Collections.Generic.IEnumerable1<Microsoft.VisualStudio.PlatformUI.SplitterMeasureData>, Boolean)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
at System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Grid.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Border.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
at System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Grid.MeasureCell(Int32, Boolean)
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32, System.Windows.Size, Boolean, Boolean, Boolean ByRef)
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32, System.Windows.Size, Boolean, Boolean)
at System.Windows.Controls.Grid.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
at System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
at System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
at System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Documents.AdornerDecorator.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Grid.MeasureCell(Int32, Boolean)
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32, System.Windows.Size, Boolean, Boolean, Boolean ByRef)
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32, System.Windows.Size, Boolean, Boolean)
at System.Windows.Controls.Grid.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Grid.MeasureCell(Int32, Boolean)
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32, System.Windows.Size, Boolean, Boolean, Boolean ByRef)
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32, System.Windows.Size, Boolean, Boolean)
at System.Windows.Controls.Grid.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at Microsoft.VisualStudio.PlatformUI.Shell.Controls.WindowContentPresenter.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Window.MeasureOverrideHelper(System.Windows.Size)
at System.Windows.Window.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Interop.HwndSource.Process_WM_SIZE(System.Windows.UIElement, IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr)
at System.Windows.Interop.HwndSource.LayoutFilterMessage(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 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)
at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

also I uploaded report.wer file here

any advice is much appreciated.

Thanks in advance.

SQL Server | Other
{count} votes

3 answers

Sort by: Most helpful
  1. Naomi Nosonovsky 8,431 Reputation points
    2023-02-23T14:24:18.27+00:00
    0 comments No comments

  2. Seeya Xi-MSFT 16,586 Reputation points
    2023-02-24T02:28:13.0933333+00:00

    Hi @Ali Fahimi ,

    Can you try installing another version of SSMS, like SSMS 18?

    Alternatively, you can go to the control panel and try to repair it.

    Best regards,

    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

  3. Ali Fahimi 0 Reputation points
    2023-02-25T14:57:34.0933333+00:00

    Thanks you both. Unfortunately other solutions not working. only way I found out that working is to remove and install SSMS again. yet after some time, facing same error. As it may solve the issue temporary, I'm not a fan of reinstalling programs in server.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.