Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
570 views
in Technique[技术] by (71.8m points)

ssms - Sql Server Management Studio closes immediately after startup

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 have tried to install different SSMS versions , i.e. 16.X, 17.Y, but it have not helped. I have also tried to repair VS 2017 and SSMS.

This problem occured for the first time, when I unistalled Visual Studio 2015 and its related components, like SSMS, and installed VS 2017 and newer version of SSMS (16.X).

What can I do to make SSMS not closing immediately after startup?

question from:https://stackoverflow.com/questions/49279586/sql-server-management-studio-closes-immediately-after-startup

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

This solution worked!

Step1:

C:Program Files (x86)Microsoft SQL Server Management Studio 18Common7IDECommonExtensionsPlatformMicrosoft.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_USERSOFTWAREMicrosoftSQL Server Management Studio18.0_IsoShell_ConfigRuntimeConfigurationdependentAssemblyindingRedirection{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?? {toggle_previous_statuses}


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...