SSMS "The 'Microsoft.SqlServer.Management.SqlStudio.... package did not load correctly" and "Service 'Microsoft.SqlServer.Management.IRegistrationService' not found"

WD 1 Reputation point
2021-10-27T01:40:46.54+00:00

Hi there, I ran into a strange issue when I install SSMS v18.10 on my new work laptop (Win10 Pro Build 19042) with local Admin rights. I have tried both v18.10 and v18.9, uninstalled Extensions, etc. But none of them works. Can you please help? Thanks a lot.

The installation seems all good. But when launching SSMS, it prompts a warning message "The 'Microsoft.SqlServer.Management.SqlStudio.... package did not load correctly".

143967-image.png

After ignored this warning, when connection to our Azure SQL Database, it then prompts an error "Service 'Microsoft.SqlServer.Management.IRegistrationService' not found (Microsoft.SqlServer.Management.SDK.SqlStudio)"

143968-image.png

I also noticed under "Help" menu, there're two "About" items., one is "About SQL Server Management Studio", and the other is "About...". On my old work laptop, I only got one "About..." in my SSMS. When clicking "About...", I got the same warning message as when launching SSMS.

144021-image.png

When click ""About SQL Server Management Studio", I got below information.

144022-image.png

I have tried both v18.10 and v18.9, uninstalled Extensions, etc. But none of them works.

SQL Server Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CathyJi-MSFT 22,396 Reputation points Microsoft External Staff
    2021-10-27T07:12:13.117+00:00

    Hi @WD ,

    Did your VS is running? If so, please restart it as the error message mentioned.

    Please repair the SSMS then run the SSMS as administrator. Disable Ransomware Protection in Windows.

    If it is still not work, close all Visual Studio instances, then delete all files in the following folder:

    Visual Studio 2013

    %localappdata%\Microsoft\VisualStudio\12.0\ComponentModelCache

    Visual Studio 2015

    %localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache
    Visual Studio 2017

    %localappdata%\Microsoft\VisualStudio\15.0_xxxx\ComponentModelCache
    Visual Studio 2019

    %localappdata%\Microsoft\VisualStudio\16_xxxx\ComponentModelCache

    Then run the SSMS again.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.