安装错误 - Microsoft SQL Server Management Studio

Installation error - Microsoft SQL Server Management Studio

谁能告诉我如何解决 Microsoft SQL management studio 中显示的以下错误。

The 'Microsoft.SqlServer Management.SqlStudio, Microsoft.SqlServer.Management.SqlStudio, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91¹ package did not load correctly.

The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C:\Users\kavindu sandeepa\AppData\Roaming\Microsoft\AppEnv.0\Activity Log.xml'. Restarting Visual Studio could help resolve this issue.

如果您已经安装了以前的版本或扩展,通常会出现此错误。

  1. 运行(Windows+R) regedit.
  2. 转到HKEY_CURRENT_USER\SOFTWARE\Microsoft\MicrosoftSQL服务器
  3. Right-click 就可以了,删除
  4. 您可以看到它已从树视图中删除
  5. 重新启动您的 PC 或笔记本电脑
  6. 重启后,启动SSMS

如果错误仍然存​​在,请暂时禁用任何防病毒软件和防火墙...

重试安装。清理 %temp% 文件夹。

确保运行安装程序作为管理员