After successful download of source tree on windows 10 , the application doesn't seem to launch, Any help appreciated , Thanks
8 Answers
For me it was sufficient to delete the two Cache files
- Assemblies.cache
- Composition.cache
in
C:\Users\<User>\AppData\Local\Atlassian\SourceTree.exe_<random_string>\<version_number>
That way I didn't need to reinstall or reconfigure my Sourcetree.

- 1,221
- 1
- 4
- 2
-
4That helped for me. Files were recreated on the next start and app is working again – hansmaad Jun 16 '23 at 07:27
-
3That helped me as well. Thanks ;) – Viktor Jun 16 '23 at 15:12
-
6Also for me. I see we've all commented recently to this very old thread. For me, I suspect that recent monthly update to Windows 11 (June 23) is the culprit. – Dan Haywood Jun 17 '23 at 06:41
-
3I'm one of the lucky people to get this answer, I didn't reinstall Sourcetree. Terima kasih :) – Hana Hasanah Jun 18 '23 at 16:31
-
3This was the issue in my case. – Shakti Prakash Singh Jun 19 '23 at 00:10
-
2That helped me. Very simple solution. Thank you. – Uni Jun 19 '23 at 08:34
-
2This is the best answer in my opinion - can confirm that it worked for me without having to re-configure anything. – zing Jun 19 '23 at 09:41
-
Thanks, helped me without losing all my settings. I just wonder how can an app written so badly that it does not even report an error but silently crashes/quits. – Zoli Jun 22 '23 at 07:32
-
Having used this software for years, it has just done the same for some reason. Thank you for the resolution! – Will Johnson Jun 26 '23 at 13:33
-
1Thanks. This solution worked for me when Source tree suddenly stopped opening when it was working previously. – Larry Cummins Jun 29 '23 at 09:58
-
Excellent! Thank you for this, pretty straightforward and useful – They_Call_Me_Joe Jul 13 '23 at 16:32
-
@DanHaywood this happened to me after a system upgrade on Windows 10 Enterprise. – dybzon Jul 20 '23 at 07:51
-
Worked for me. Thanks – Muhammad Azeem Aug 02 '23 at 12:57
This solved the issue for me.
Cause
The most likely reason for this error is that the user.config file for SourceTree has been corrupted. You can confirm this by locating the file in this location:
C:\Users\<User>\AppData\Local\Atlassian\SourceTree.exe_<random_string>\<version_number>
If this is the cause, when you open the file, it will be full of
<NULL>
values.Resolution
If the user.config file is indeed corrupted, you may delete it. It will be regenerated the next time you start SourceTree, and the application should start normally.

- 18,086
- 12
- 59
- 105

- 1,905
- 2
- 17
- 33
-
1
-
-
1Thanks for the answer! In my case I had several different such folders with many previous version numbers within them. Located the one with the latest version number - the `user.config` file within looked normal and not corrupt. However I renamed it to `backup SourceTree.exe_
` and this did the job. – Steve Chambers Jul 28 '17 at 10:17 -
-
5Still works in 2023 as a work around. It's unfortunate that these files are still getting corrupted. – shawn1874 Jun 14 '23 at 16:49
-
2@shawn1874 something must have broken in the past few days cause this answer is suddenly getting massive attention. Interesting. – Toivo Säwén Jun 17 '23 at 15:37
Without providing the SourceTree errorlog nobody will really be able to tell you how to resolve this issue.
The Sourcetree errorlog can be found at C:\Users\<username>\AppData\Local\Atlassian\SourceTree\sourcetree.log
on windows.
Or by opening the Console application (Applications >> Utilities >> Console) and searching for entries related to "SourceTree", on mac.
The 2 most common fixes however are:
- Re-install Source tree.
- Delete the
C:\Users\%user%\AppData\Local\Atlassian
folder

- 2,453
- 4
- 35
- 47
-
2Thanks, this did it for me: Delete the C:\Users\%user%\AppData\Local\Atlassian folder – Martin Scharrer Oct 14 '22 at 07:38
Check the logs of sourcetree which is placed in %AppData\Local\Atlassian\SourceTree
In my case it was: ERROR [2023-06-15 14:07:37,286] [1] [Sourcetree.Composition.VSMef.Net471.VSMefCompositionManager] [Log] - Unable to load MEF components System.InvalidOperationException: Sequence contains no elements....
Solution: Delete file which is located in the following path: %AppData\Local\Atlassian\SourceTree.exe_Url_some_random_value\here should be your version of source tree in my case it was 3.4.5.0\Composition.cache

- 121
- 2
- 5
I just needed to start the installer. After running it, SourceTree just opens again. No installation was triggered. Afterwards it opens again without any problems. Version 3.4.13

- 51
- 2
- Uninstall .Net 4.5 Or your current .Net version
- Install SourceTree 2.4.7.0 (Sourcetree installation will install .Net Again for you).
Note: I tried Atlassian recommendations such as deleting \Users{UserId}\AppData\Local\SourceTree as well as \Users{UserId}\AppData\Local\Atlassian. Also tried Deleting entries from Windows Registry none of those things helped.

- 859
- 11
- 17
If the banner flashes for couple of seconds and then gone, you need to update the user.config file. It happened after the windows update. go to sourcetree path: C:\users\admin\AppData\local\Atlasian\SourceTree.exe\3.4.11.0\
delete all the contents inside this folder and restart the source tree.
Ps: it is always good to have backup
For me the problem was the change of installation location between versions of SourceTree.
As of 3.4.14 it is in \AppData\Local\SourceTree
and not in \Program Files (x86)\Atlassian\SourceTree.

- 624
- 5
- 11