The 'SqlSourceControlPackage' package did not load correctly

If you are getting this error message when opening:

 The 'SqlSourceControlPackage' 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:



If the stack trace leading up to the error looks similar to below:

Exception details:
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

This is caused by an incompatibility in having SSMS's object explorer on the right side of the screen, on SSMS 2016 and 17.

The recommended solution is to update to SSMS 18 or newer.

If you can't update, please take the following steps:

1 - Close SSMS and uninstall SQL Source Control

2 - In SSMS, either move Object Explorer to the left (default position) or select "Reset Window Layout" on the Window menu

3 - Re-install SQL Source Control

4 - SSMS should now start correctly and you should have SQL Source Control installed

Was this article helpful?

0 out of 1 found this helpful
Have more questions? Submit a request