简体   繁体   中英

Microsoft SQL Server Management Studio error at startup

I get this error when I try to run Microsoft SQL Server Management Studio:

The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

错误窗口图像

SxSTrace detail:

1 , 2

What I did for solving the problem:

  • reinstalled SQL Server
  • reinstalled Microsoft SQL Server Management Studio
  • updated at recent version of .NET Framework
  • reinstalled Visual C++ Redistributable

And I still get that same error.

What should I do?

you should install an earlier version. I had the same error and I installed version 18.5 and it worked just fine.

https://docs.microsoft.com/pt-br/sql/ssms/release-notes-ssms?view=sql-server-ver15#185

I had the same error with version 18.9.2. I don't know if it's related to the problem, but I firstly installed SSMS in Program Files and not in Program Files (x86) .

First I have tried to repair the installation, with no success.

Then I have uninstalled SSMS, rebooted by PC, re-installed SSMS (this time in the default Program Files (x86) folder) and rebooted my PC again. After these steps, I was able to start SSMS without errors.

I did the following to solve this error.

Copied all the files and folders from the folder C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\ from a working machine and pasted on the server which was having issue.

Once the copying was completed, I it started appearing in Add or remove programs @ control panel.

Post copy SSMS started working normally.

I had the same also. I could solve this error with @Ricky Sixx followings. Thanks!

+

when I got the same problem, I had downloaded SSMS 18.10 version and changed the file path "c:\program files\Microsoft SQL server".

only after setting file path "c:\program files (x86)\Microsoft SQL server", there is no error.

I removed the following Sql related ones from the control panel.

在此处输入图像描述

Then i followed these steps

https://stackoverflow.com/a/66085979/16391774

I reinstalled the same version (at present latest version v18.12.1 and i used it version) and my problem was solved.

Uninstalling did not work.

Upgrading (Installing newer version or same version) did not work.

What worked:

  1. delete or rename “C:\Program Files (x86)\Microsoft SQL Server Management Studio 18”

  2. delete registry manually or via.reg file

    reg DELETE “HKLM\SOFTWARE\WOW6432Node\Microsoft\Microsoft SQL Server Management Studio” /reg:32)

Afterwards, installing SSMS worked without a flaw and it started.

Found at https://social.msdn.microsoft.com/forums/en-US/7ab37d2b-6bac-4221-b827-d274b00b9a56/ssms-18-how-to-uninstall?forum=sqlkjmanageability&prof=required , similar to https://superuser.com/a/1440276/146668 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM