You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
1. Open SourceTree
2. Displays flash screen
3. Then nothing
Tried to clear everything (uninstall) and deleted below folders
then install the latest version (3.4.9) same problem.
Below is the error I've got
ERROR [2022-08-12 15:32:41,280]  [Sourcetree.Composition.VSMef.Net48.VSMefCompositionManager] [Log] - Unable to load MEF components
System.IO.FileNotFoundException: Could not load file or assembly 'System.Diagnostics.Tracing, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Diagnostics.Tracing, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at System.Threading.Tasks.Dataflow.TransformBlock`2..ctor(Func`2 transformSync, Func`2 transformAsync, ExecutionDataflowBlockOptions dataflowBlockOptions)
at Microsoft.VisualStudio.Composition.PartDiscovery.CreateDiscoveryBlockChain(Boolean typeExplicitlyRequested, IProgress`1 progress, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Composition.PartDiscovery.CreateAssemblyDiscoveryBlockChain(IProgress`1 progress, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
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].
Hi Maged Sallam,
I managed to solve this issue. I realized this issue indeed is dependent on recent windows update messing up WMI classes. I found a post from this issue :
that helped me to resolve the issue.
e.g. In my case, after windows updates, I had error WMI Invalid Class. You can verify this, by :
Find the Provider it from www.msdn.com i.e. for mentioned example, it is CIMWin32 (Refer : https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-processor )
Verify if WMI Repo is consistent : Check if the repository is corrupted or not by running following command from command prompt with admin rights: winmgmt /verifyrepository
If Step 6 is consistent then next, run command, in already opened CMD prompt: cd C:\Windows\System32\Wbem
Next Install the Missing Class Provider for mentioned example by running: mofcomp.exe CIMWin32.mof
Reregister installed wmi class by running : regsvr32 CIMWin32.dll
close wmimgmt.msc and restart it. In general , now if the error is resolved and then there would not be same error as found in step 3. I would of added some snapshots but i could simply not copy paste so please dont mind ;)
I've had this same issue for the past 2 days and I've managed to fix it. I had to reset the WMI Repository on my PC.
I first uninstalled Sourcetree and removed all traces of it from this location on my PC: C:\Users\*username*\AppData\Local
That involved backing up and removing the Soucretree folder and the Atlassian folder
Then I reset the WMI repo
These instructions on how to reset it are from Blizzard support:
Hope this helps!
Hi Jamie Keen,
I have been having the exactly same issue as described by initial statement of this issue since today morning.
I tried all steps in suggested manner by you but it did not work.
After step 5. Restarting PC, when i tried to install source tree, same issue occurs: source tree banner flashes for couple of seconds and then nothing.
Here is the details of error on win10 eventviewer :
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Management.ManagementException