Sql Server Management Studio closes immediately after startup

前端 未结 6 2245
小蘑菇
小蘑菇 2020-12-25 12:04

Sql Server Management Studio closes in about five seconds after startup. No messages are being displayed (even in a console) and no logs occur in a Windows Event Viewer. I h

6条回答
  •  遥遥无期
    2020-12-25 12:26

    This solution worked!

    Step1:

    C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\CommonExtensions\Platform\Microsoft.VisualStudio.MinShell.Interop.pkgdef
    

    Rename and make sure this file does not have the .pkgdef extension anymore. Or remove the file.

    Step2:

    Remove the following Registry Key (which is created at SSMS 18 Startup using the .pkgdef file mentioned above):

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\SQL Server Management Studio\18.0_IsoShell_Config\RuntimeConfiguration\dependentAssembly\bindingRedirection\{8BC7AF31-B6DA-4B97-8B36-F0500DECB147}
    

    From now on SSMS 18 will start.

    Source: SQL Server Management Studio 18 GA (15.0.18118.0) not compatible with .NET Framework 4.8

提交回复
热议问题