SQL Source Control 3.1 Failed to load or caused an exception
sproatba
Posts: 15
I get this every time i launch ssms. It affects all versions of ssms. It started after the upgrade to 3.1.0.5208. I've tried to reinstall. Reverting to the previous version works.
Comments
SQL Server 10.50.4000
I have the same issue! After upgrading to 3.1.0.5208 I cannot work anymore. The following error occurs (translated): Also uninstalling SSC, rebooting and installing 3.1.0.5208 did not succeed!
Please provide a link to download the version 3.1.0.4829!
The event log has a lot of the following from the source "SQL Source Control 3" and "SQL Test 1"
#QEc.#mRA
#1:Failed to load assembly RedGate.SQLPrompt.SSMSUIfw4.resources.resources, Version=5.3.6.28, Culture=en-US, PublicKeyToken=7f465a1c156d4d57
Broke my golden rule of doing an upgrade when I actually needed to do a UAT update and needed to generate some scripts, it's a testament to Redgate though as I'm so used to their upgrades working flawlessly that i didn't give it a second thought!
ftp://support.red-gate.com/patches/SQLS ... 0.4829.exe
That event log error isn't really important - SQL Prompt and SQL Test log a lot of errors like that, but they're quite resilient, so if those products don't actually throw an error to the user then it's nothing to worry about. We're looking into the SQL Source Control error now - I'll let you know as soon as I have an update for you.
Red Gate Technical Support Engineer
Unable to find assembly 'RedGate.SQLSourceControl.AtomicIO, Version=3.1.2.33, Culture=neutral, PublicKeyToken=7f465a1c156d4d57'.
A rollback to a previous version of SQL Source Control still gives the same error.
I downgraded to 3.0 which brought it all back for me.
We're doing our best to track this error down, and we've logged it in our internal bug-tracking system as SOC-4649. Since it's not affecting everyone and we can't reproduce it, we're not getting very far, so any information you can provide at all would be helpful - your OS, version of SSMS, any details about how you were using SQL Source Control, or anything else you think might be relevant. Thanks for your help!
Red Gate Technical Support Engineer
Andy, ok, here is some info:
Win7 Enterprise, SP1
SSMS ver 10.0.5512.0
We use SSC with mercurial in a shared database env. I pick my source control folder and click the link button... it always gets to 10% then gets this error.
It looks like that error is because we're trying to load the wrong version of one of the SQL Source Control components - I'd guess this is from a failed install, but if you tried rolling back to a previous version that ought to have fixed it. Can I get you to completely uninstall SQL Source Control and try installing the latest version again, making sure to right-click the installer and run as Administrator? The installer for the newest version is here:
ftp://support.red-gate.com/patches/SQLS ... 1.3.26.exe
If that doesn't fix it we'll need to start digging around to figure out what went wrong in that install. Your case is particularly interesting, because it looks like you're trying to load a newer version of the component than the version of SQL Source Control you've got installed, which shouldn't ever happen.
I'm logging you a support ticket now so we don't clutter up this thread - you should get a confirmation email very soon. If we could continue troubleshooting this by email that'd be great, just so we don't get confused with two separate issues in this thread.
Red Gate Technical Support Engineer
Scott, FYI, a downgrade to 3.0 did not help me, but 2.2 did help. However, any attempts to upgrade to any 3.x version do not help me link dbs to source control.
I'll need to reinstall 3.0 again to now as I need this working but am happy to send through any debug info / run any tests to get this sorted ASAP.
I am also using SQL 2008 R2, 64bit windows 8.
Cheers,
As Scott mentioned, i'd be willing to capture crash dumps or run tests to help track this down I just need to know what to do.
Can this item be made a priority? I'm looking forward to some of the new features since 3.1 and am completely blocked from installing the new version with this error (the 'keep the selections when navigating away and coming back to the commit window' one alone should save me quite a lot of time)
As previously mentioned am happy to assist in diagnosing the issue if you guys can't reproduce it.
Also - Sproatba, I'm not using any (non redgate) SSMS plugins and haven't had any installed since my last rebuild a while ago.
Cheers,
Unable to find assembly 'RedGate.SQLSourceControl.AtomicIO, Version=3.4.1.73, Culture=neutral, PublicKeyToken=7f465a1c156d4d57'.
Hi,
Thank you for submitting an error report.
Your problem is a known issue and we recommend trying the following as a workaround: