SSMS 18.0 startup error "Failed to Open Connection Dialog. Object reference not set to an instance of an object." RRS feed

  • Question

  • ===================================
    Failed to open connection dialog.
    Object reference not set to an instance of an object. (Microsoft.SqlServer.Management.SqlStudio)
    Program Location: at Microsoft.SqlServer.Management.SqlStudio.ConnectToOe()
    SQL Server Management Studio 15.0.18118.0
    Microsoft Analysis Services Client Tools 15.0.1300.131
    Microsoft Data Access Components (MDAC) 6.3.9600.17415
    Microsoft MSXML 3.0 4.0 6.0
    Microsoft Internet Explorer 9.11.9600.19375
    Microsoft .NET Framework 4.0.30319.42000
    Operating System 6.3.9600 (Windows Server 2012 R2 Datacenter)

    New install of Win2012 R2 with all WindowsUpdates, SQL Server 2017 Developer Edition, and latest SQL Server Cumulative Update 15 via <SQLServer2017-KB4498951-x64.exe>. It was working perfectly fine for several days. Seems like buggy software to me. How do I fix this?
    Tuesday, June 4, 2019 7:08 PM


  • I redownloaded the SSMS 18.0 package <SSMS-Setup-ENU.exe> and when I ran it, it gave me the option to repair. After the repair, it required a reboot. After rebooting, the problem is resolved.

    Note: In Windows Server 2012, mounting the SQL Server installation ISO and trying to run the dotNet installers in the redist folder does not work since dotNet 4.x is part of the OS, so those installers don't run. Running the Repair for the Visual C++ and Visual Studio Tools did not help, neither did resetting the SSMS window layout or repairing SQL Server. Only reinstalling the SSMS package from the SSMS installer executable fixes this problem.

    Microsoft should take note that this happened on a brand new machine and brand new installation of everything.

    Tuesday, June 4, 2019 11:23 PM