SQL Server Management Studio (ssms) is crashing when running any query. I have tried an uninstall and reinstall of both versions 17.9.1 and 18.4, but running even a simple select on either version shuts ssms down after a few seconds of spinning.
This started happening very suddenly. Both versions worked fine before this started. Any assistance is appreciated.
The event log errors are as follows:
Application Error Event ID 1000:
Faulting application name: Ssms.exe, version: 2017.140.17289.0, time stamp: 0x5befcf0a
Faulting module name: KERNELBASE.dll, version: 10.0.17134.753, time stamp: 0x976ea24c
Exception code: 0xe0434352
Fault offset: 0x00111942
Faulting process id: 0x38b0
Faulting application start time: 0x01d6083f3841d91d
Faulting application path: C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\Ssms.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: e5e95b98-0418-4fc2-a46d-751957b3e1de
Faulting package full name:
Faulting package-relative application ID:
.NET Runtime Event ID 1026:
Application: Ssms.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.SEHException
at System.IO.UnmanagedMemoryStream.ReadByte()
at System.IO.BinaryReader.ReadByte()
at System.IO.BinaryReader.Read7BitEncodedInt()
at System.Resources.ResourceReader.CompareStringEqualsName(System.String)
at System.Resources.ResourceReader.FindPosForResource(System.String)
at System.Resources.RuntimeResourceSet.GetObject(System.String, Boolean, Boolean)
at System.Resources.RuntimeResourceSet.GetString(System.String, Boolean)
at System.Resources.ResourceManager.GetString(System.String, System.Globalization.CultureInfo)
at System.Data.Res.GetString(System.String)
at System.Data.SqlTypes.SQLResource..cctor()
Exception Info: System.TypeInitializationException
at System.Data.SqlTypes.SqlDecimal.Parse(System.String)
at System.Data.SqlTypes.SqlDecimal..cctor()
Exception Info: System.TypeInitializationException
at System.Data.SqlTypes.SqlDecimal.CalculatePrecision()
at System.Data.SqlTypes.SqlDecimal..ctor(System.Decimal)
at System.Data.SqlTypes.SqlMoney..ctor(System.Decimal)
at Microsoft.SqlServer.Management.UI.Grid.StorageVariables.InitVariables()
at Microsoft.SqlServer.Management.UI.Grid.DiskDataStorage..ctor()
at Microsoft.SqlServer.Management.QueryExecution.QEDiskDataStorage..ctor()
at Microsoft.SqlServer.Management.QueryExecution.QEResultSet.Initialize(Boolean)
at Microsoft.SqlServer.Management.QueryExecution.ResultsToGridBatchConsumer.OnNewResultSet(System.Object, Microsoft.SqlServer.Management.QueryExecution.QESQLBatchNewResultSetEventArgs)
at Microsoft.SqlServer.Management.QueryExecution.QESQLBatch.ProcessResultSet(System.Data.IDataReader)
at Microsoft.SqlServer.Management.QueryExecution.QESQLBatch.DoBatchExecution(System.Data.IDbConnection, System.String, Microsoft.SqlServer.Management.UserSettings.QEConnectionSettings)
at Microsoft.SqlServer.Management.QueryExecution.QESQLBatch.Execute(System.Data.IDbConnection, Microsoft.SqlServer.Management.QueryExecution.QESQLBatchSpecialAction, Microsoft.SqlServer.Management.UserSettings.QEConnectionSettings)
at Microsoft.SqlServer.Management.QueryExecution.QEOLESQLExec.DoBatchExecution(Microsoft.SqlServer.Management.QueryExecution.QESQLBatch)
at Microsoft.SqlServer.Management.QueryExecution.QESQLExec.ExecuteBatchCommon(System.String, Microsoft.SqlServer.Management.QueryExecution.ITextSpan, Boolean ByRef)
at Microsoft.SqlServer.Management.QueryExecution.QEOLESQLExec.ExecuteBatchHelper(System.String, Int32, Int32)
at Microsoft.SqlServer.Management.QueryExecution.QEOLESQLExec.ProcessBatch(System.String, Int32)
at <Module>.BatchParser.ThunkCommandExecuter.ProcessBatch(BatchParser.ThunkCommandExecuter*, UInt16*, Int32)
at <Module>.BatchParser.ExecutionContext.ProcessWhatsLeftInBatch(BatchParser.ExecutionContext*)
at <Module>.BatchParser.BatchParserInternal.Parse(BatchParser.BatchParserInternal*, BatchParser.ParserState*, Boolean)
at ManagedBatchParser.Parser.Parse()
at Microsoft.SqlServer.Management.QueryExecution.QEOLESQLExec.DoScriptExecution(Microsoft.SqlServer.Management.QueryExecution.ITextSpan)
at Microsoft.SqlServer.Management.QueryExecution.QESQLExec.StartExecuting()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at 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()