SourceTree 2.1.11 for Windows not able to start

Hi there, 

after installing 2.1.11 source tree is not able to start, the following error is displayed in the event log:

Could not load file or assembly 'UIAutomationTypes, Version=4.0.0.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The module was expected to contain an assembly manifest.

Unistalled SourceTree and GIT several times even for prior versions and the issue remains.

Im running Windows 10.

Has anyone ran into this issue ?

Thanks in advance!

Ricardo

1 answer

0 vote

Hi Ricardo! Someone reported a similar issue before and after we looked at his log, it suggested a dll was missing or could not be loaded ('EncodingTools.dll' in his case).

It might be worth trying to re-install SourceTree to see if that repairs the installation.

This user performed a 'repair' and it fixed the issue. A clean install of SourceTree might also help, these are the steps to follow:

  1. Wipe SourceTree preferences
  2. Uninstall SourceTree (if it shows on the App&Features list)
  3. Backup then delete the directory below before proceeding with next step
    • Navigate to C:\Users\<UserName>\AppData\Local and delete SourceTree & SourceTree-Settings folder
    • Navigate to C:\Users\<UserName>\AppData\Local\Atlassian and delete all SourceTree Files/Folder.
  4. Download SourceTree and install it. 

Let us know if this works for you! If you're still having problems, please send us the log.

Cheers,

Ana

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

274 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot