Hi,
I am using SourceTree Enterprise 3.4.13.0 on Windows 10.
After a Windows Update Today it does not start anymore.
Only see splash screen then it closes.
Tried uninstalling Reinstalling, nothing helped.
In the SourceTree.log I see this error:
ERROR [2023-06-14 09:23:59,047] [1] [Sourcetree.Composition.VSMef.Net48.VSMefCompositionManager] [Log] - Unable to load MEF components
System.InvalidOperationException: Die Sequenz enthält keine Elemente.
bei System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
bei Microsoft.VisualStudio.Composition.PartDiscovery.GetElementTypeFromMany(Type type)
bei Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_ImportingSiteTypeWithoutCollection()
bei Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_IsLazy()
bei Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_LazyFactory()
bei Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import)
bei Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.SatisfyImports()
...
Can anyone help?
Deleting
%LOCALAPPDATA%\Atlassian\SourceTree.exe_<UID>\3.4.13.0\Assemblies.cache
%LOCALAPPDATA%\Atlassian\SourceTree.exe_<UID>\3.4.13.0\Composition.cache
helped!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much glad someone was able to solve this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same issue for me and this worked. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Very helpful for me too
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FYI - On my machine, the files were located under the Atlassian folder:
%LOCALAPPDATA%\Atlassian\SourceTree.exe_<UID>\<Version>\
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worke for me as well, thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
고맙습니다. 덕분에 해결 했습니다!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seems that this issue reappears and the above fix has to be applied repeatetly
So i downgraded to 3.4.12 and the issue is gone
Seems to be some deeper issue with the 3.4.13 version
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for posting. This worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked for me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked for me after this weeks regular windows update that I declined but somehow it was applied regardless. For what its worth these are the folders in which I needed to delete those files:
C:\Users\**me**\AppData\Local\Atlassian\SourceTree.exe_Url_re5thcoffnnkdlp540ilqzrn33oj41rm\3.4.3.0
C:\Users\**me**\AppData\Local\Atlassian\SourceTree.exe_Url_n3rdypildipi022uybkie3xafvtaqehx\3.4.8.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked here too! Awesome!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, helped me too
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem. Solution works like a charm
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
worked for me too thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked for me - thanks a bunch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked perfectly thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked for me!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, that worked for me!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works for me too. Thanks a lot!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works for me too, thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked for me.. thanks!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This worked for me. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. It works!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thks so much. it works
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks so much. It worked like a charm!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This worked!
"Unable to load MEF components" is not a bug, it's a feature! This happens so frequently it's disturbing why developers do not fix this or auto-remediate for this issue. Incredibly frustrating when this happens.
EDIT: Got tired of this issue happening so often, even on latest version at time of writing, so I stopped using Atlassian SourceTree altogether and started using something else.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so very much! A big relief. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This worked beautifully (on v 3.4.11). Thank you so much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked for me in 3.4.13, now I'll upgrade :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Brilliant! Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have fixed this issue in Sourcetree 3.4.14 and is available for upgrade.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Exact same issue here, deleting the single file solved it:
Composition.cache
However, the problem has recurred twice - will we see a fix soon?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
came here same reason,
thanks for the work arounds.
Uninstall/reinstall seems to work at least from SourceTree-3.4.8 to 3.4.13
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank for you help♥
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Works for me as well. Thnx!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
had the same issue, deleting the files helped, thanks !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works for me too. Thanks a lot!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My entire team got bit by this bug after recent windows updates.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
same thing happened here. glad to find this post quickly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.