Source control version 7.1.30.11266 crashing SSMS 18.6
jsreynolds1
Posts: 91 Silver 1
Good morning,
Source control version 7.1.30.11266 is crashing in SSMS 18.6 on startup of SSMS. I upgraded from the previous version.
I found that using the uninstaller to repair the install fixed the issue. But this is the first time such a crash has happened from an upgrade in some time. Below is the screenshot, and then the recommended error file.
Source control version 7.1.30.11266 is crashing in SSMS 18.6 on startup of SSMS. I upgraded from the previous version.
I found that using the uninstaller to repair the install fixed the issue. But this is the first time such a crash has happened from an upgrade in some time. Below is the screenshot, and then the recommended error file.
<description>CreateInstance failed for package [SqlSourceControlPackage]Source: 'mscorlib' Description: Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'RedGate.SQLSourceControl.Ssms.Common, Version=7.1.30.11266, Culture=neutral, PublicKeyToken=7f465a1c156d4d57' or one of its dependencies. The system cannot find the file specified.
 at RedGate.SQLSourceControl.Extension.SqlSourceControlPackage..ctor()
 --- End of inner exception stack trace ---
 at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
 at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
 at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
 at System.Activator.CreateInstance(Type type, Boolean nonPublic)
 at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
 at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
 at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)
 at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)System.IO.FileNotFoundException: Could not load file or assembly 'RedGate.SQLSourceControl.Ssms.Common, Version=7.1.30.11266, Culture=neutral, PublicKeyToken=7f465a1c156d4d57' or one of its dependencies. The system cannot find the file specified.
File name: 'RedGate.SQLSourceControl.Ssms.Common, Version=7.1.30.11266, Culture=neutral, PublicKeyToken=7f465a1c156d4d57'
 at RedGate.SQLSourceControl.Extension.SqlSourceControlPackage..ctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
</description>
Tagged:
Answers
I also encountered this problem upgrading from V7.1.29 to V7.1.30 on my test system. I have therefore submitted a new Bug Report whose internal Redgate reference is SOC-10149. I will update this forum post when a bug fix version becomes available.
I can confirm that the work around for the problem is the a repair of the installation via Control Panel ->Programs ->Programs & Features ->Selecting SQL Source Control V7, right click and selected the repair option. Thank you @jsreynolds1for this additional information.
Many Thanks
Eddie
Senior Product Support Engineer
Redgate Software Ltd
Email: support@red-gate.com
But then if I click SQL Source Control "Options", I get the SQL Source Control error "Cannot locate resource 'images/producticon16x16_fullcolour.png'.", and SSMS 18.6 (15.0.18338.0) crashes.
Event Viewer shows this exception:
I tried many things (including installing an older version then updating) but nothing stopped it happening with this version. I now consider this latest release to be broken.
Instead, I installed my latest version from my downloads folder (which was 7.1.26 I think), and left it as is (e.g., not updating to 7.1.30). I'll wait for next version - and not delete my old installer.
Note that I couldn't find a place to download the previous version on here - I had to rely on my previous downloads only.