Vladislav
Vladislav

Reputation: 193

SourceTree - Error: The code execution cannot proceed because msys-2.0 dll was not found

I have recently got a new lap top at my work, I installed SourceTree. When I start the application I am getting the following System error: bash.exe The code execution cannot proceed because msys-2.0 dll was not found. Reinstalling the program may fix this problem.

enter image description here

I have reinstalled, but is still the same. There is a lot of staff on the web I tried some and again, still the same. Can somebody give an advice, please.

Upvotes: 1

Views: 2489

Answers (1)

Vladislav
Vladislav

Reputation: 193

To solve the problem what I did is:

  1. Closed SourceTree.

  2. Asked my colleague who DO NOT have the same problem with SourceTree to identify where the file: msys-2.0.dll is located for the SourceTree

  3. Found out that it is located in location: C:\Users\MyFolderName\AppData\Local\Atlassian\SourceTree\git_local\usr\bin

  4. Copied file from the location where I found the file C:\Program Files\Git\usr\bin into the location C:\Users\MyFolderName\AppData\Local\Atlassian\SourceTree\git_local\usr\bin

  5. Opened SourseTree again - the error is gone.

Upvotes: 3

Related Questions