SSMS Crashes after SQL Complete Uninstall

Discussion of open issues, suggestions and bugs regarding database management and development tools for SQL Server
Post Reply
erikd
Posts: 3
Joined: Wed 01 Apr 2020 06:32

SSMS Crashes after SQL Complete Uninstall

Post by erikd » Mon 10 Aug 2020 16:12

Hi,
please help with the issue after latest update.
After latest SQL Complete Update today(pro version), I could not connect to any SQL Servers. Could not solve the issue so I uninstalled SQL Complete. But now I cannot use SSMS 17.9 neither SSMS 18 as they keep crashing. Tried to reinstall both SSMS versions, though I cannot open any of them as they keep crashing.
Thank you

.jp
Devart Team
Posts: 345
Joined: Wed 09 Sep 2009 06:55
Location: devart

Re: SSMS Crashes after SQL Complete Uninstall

Post by .jp » Wed 12 Aug 2020 12:56

Hello,
We're investigating the problem and reply as soon as any result is available.
Best Regards.

alexa

Re: SSMS Crashes after SQL Complete Uninstall

Post by alexa » Thu 20 Aug 2020 08:01

We would like to let you know that we have released dbForge SQL Complete, v6.5.48 where the issue you reported is fixed https://www.devart.com/dbforge/sql/sqlcomplete/download.html

Please try the new build.

epmoj
Posts: 2
Joined: Tue 25 Aug 2020 07:21

Re: SSMS Crashes after SQL Complete Uninstall

Post by epmoj » Tue 25 Aug 2020 07:27

I encountered the same problem when updating to the fixed version 6.5.48. Luckily I didn't have SSMS 17.9.1 installed when this happened. Had to install it bexause SSMS 18.x versions are unusable now. No repair, uninstall reinstall could fix the problem. The connection dialog box is broken.

This error message might help in debugging the problem:

BR John


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: item
at System.Windows.Forms.ComboBox.ObjectCollection.AddInternal(Object item)
at System.Windows.Forms.ComboBox.ObjectCollection.Add(Object item)
at Microsoft.SqlServer.Management.UI.ConnectionDlg.LoginControl.UpdateServerInstanceMruOnly()
at Microsoft.SqlServer.Management.UI.ConnectionDlg.LoginControl.UpdateServerInstanceMruAndValue()
at Microsoft.SqlServer.Management.UI.ConnectionDlg.LoginControl.OnSTIndexChange(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at System.Windows.Forms.ComboBox.set_SelectedItem(Object value)
at Microsoft.SqlServer.Management.UI.ConnectionDlg.LoginControl.InitFromLastUsedServerType()
at Microsoft.SqlServer.Management.UI.ConnectionDlg.ConnectionDialog.DoOneTimeInitialization()
at Microsoft.SqlServer.Management.UI.ConnectionDlg.ConnectionDialog.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
PROFILER
Assembly Version: 15.0.0.0
Win32 Version: 2019.0150.18338.00 ((SSMS_Rel).200710-2029)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/PROFILER.EXE
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
pfui
Assembly Version: 15.0.0.0
Win32 Version: 15.0.18338.0 ((SSMS_Rel).200710-2029)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/pfui.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.SqlServer.RegSvrEnum
Assembly Version: 16.100.0.0
Win32 Version: 16.100.41011.9 (SqlManagementObjects-master-APPLOCAL)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/IDE/Microsoft.SqlServer.RegSvrEnum.DLL
----------------------------------------
ConnectionDlg
Assembly Version: 15.100.0.0
Win32 Version: 15.0.18338.0 ((SSMS_Rel).200710-2029)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/IDE/ConnectionDlg.DLL
----------------------------------------
Microsoft.SqlServer.SqlTDiagM
Assembly Version: 15.100.0.0
Win32 Version: 15.0.1000.16 ((SQLServer).180906-0425)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/IDE/Microsoft.SqlServer.SqlTDiagM.DLL
----------------------------------------
Microsoft.SqlServer.Management.Controls
Assembly Version: 15.0.0.0
Win32 Version: 15.0.18338.0 ((SSMS_Rel).200710-2029)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/IDE/Microsoft.SqlServer.Management.Controls.DLL
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
pfutil
Assembly Version: 15.0.0.0
Win32 Version: 2019.0150.18338.00 ((SSMS_Rel).200710-2029)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/pfutil.DLL
----------------------------------------
Microsoft.SqlServer.Management.RegisteredServers
Assembly Version: 16.100.0.0
Win32 Version: 16.100.41011.9 (SqlManagementObjects-master-APPLOCAL)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/IDE/Microsoft.SqlServer.Management.RegisteredServers.DLL
----------------------------------------
Microsoft.SqlServer.Management.Sdk.Sfc
Assembly Version: 16.100.0.0
Win32 Version: 16.100.41011.9 (SqlManagementObjects-master-APPLOCAL)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/IDE/Microsoft.SqlServer.Management.Sdk.Sfc.DLL
----------------------------------------
Microsoft.SqlServer.Management.UserSettings
Assembly Version: 15.0.0.0
Win32 Version: 15.0.18338.0 ((SSMS_Rel).200710-2029)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/IDE/Microsoft.SqlServer.Management.UserSettings.DLL
----------------------------------------
Microsoft.SqlServer.Diagnostics.STrace
Assembly Version: 15.100.0.0
Win32 Version: 15.0.1000.16 ((SQLServer).180906-0425)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/IDE/Microsoft.SqlServer.Diagnostics.STrace.DLL
----------------------------------------
SqlWorkbench.Interfaces
Assembly Version: 15.100.0.0
Win32 Version: 15.0.18338.0 ((SSMS_Rel).200710-2029)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/IDE/SqlWorkbench.Interfaces.DLL
----------------------------------------
Microsoft.SqlServer.Smo
Assembly Version: 16.100.0.0
Win32 Version: 16.100.41011.9 (SqlManagementObjects-master-APPLOCAL)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/IDE/Microsoft.SqlServer.Smo.DLL
----------------------------------------
Microsoft.SqlServer.ConnectionInfo
Assembly Version: 16.100.0.0
Win32 Version: 16.100.41011.9 (SqlManagementObjects-master-APPLOCAL)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/IDE/Microsoft.SqlServer.ConnectionInfo.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.SqlServer.SqlClrProvider
Assembly Version: 16.100.0.0
Win32 Version: 16.100.41011.9 (SqlManagementObjects-master-APPLOCAL)
CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20SQL%20Server%20Management%20Studio%2018/Common7/IDE/Microsoft.SqlServer.SqlClrProvider.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

alexa

Re: SSMS Crashes after SQL Complete Uninstall

Post by alexa » Tue 25 Aug 2020 11:49

Please try moving the file UserSettings.xml located in the folder below to some other folder:

Code: Select all

%SystemDrive%\Users\%UserName%\AppData\Roaming\Microsoft\SQL Server Management Studio\18.0\

epmoj
Posts: 2
Joined: Tue 25 Aug 2020 07:21

Re: SSMS Crashes after SQL Complete Uninstall

Post by epmoj » Fri 04 Sep 2020 05:07

Moving the UserSettings.xml fixed the problem. Thanks!

alexa

Re: SSMS Crashes after SQL Complete Uninstall

Post by alexa » Fri 04 Sep 2020 11:08

Thank you for the reply.

Please let us know if any questions arise.

Post Reply