Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unattended update installation with msi -> sourcetree can´t start afterwards

Andreas Ortner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 27, 2025

Hi,

We´ve got about 200 Sourcetree installations in our company -> mostly Windows version 3.4.7 -> installed with msi.

Because of vulnerabilities we need to update them.

#install1: When we try to update straigt with the parameter "SourcetreeEnterpriseSetup_3.4.21.msi ACCEPTEULA=1 /qn" sourcetree can´t start. Installed version: 3.4.21.

 

#install2: Uninstall the previous version. Install the new version -> userdata isn´t migrated. don´t find a solution with "export appdata and import in new version".

Hope anyone has a solution for this  :) 

Thanks in advance

 

#install1 Errorlog:

ERROR [2025-01-27 14:14:33,455] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - CompositionException [Errors occurred during discovery.] ERROR [2025-01-27 14:14:33,470] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - Aggregate Exception: System.AggregateException: Mindestens ein Fehler ist aufgetreten. ---> Microsoft.VisualStudio.Composition.PartDiscoveryException: ReflectionTypeLoadException while enumerating types in assembly "C:\Program Files (x86)\Atlassian\Sourcetree\SourceTree.Host.Bitbucket.dll". Results will be incomplete. ---> System.Reflection.ReflectionTypeLoadException: Mindestens ein Typ in der Assembly kann nicht geladen werden. Rufen Sie die LoaderExceptions-Eigenschaft ab, wenn Sie weitere Informationen ben tigen. bei System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) bei System.Reflection.RuntimeModule.GetTypes() bei System.Reflection.Assembly.GetTypes() bei Microsoft.VisualStudio.Composition.PartDiscovery.<>c__DisplayClass28_0.b__0(Assembly a) --- Ende der internen Ausnahmestapel berwachung --- --- Ende der internen Ausnahmestapel berwachung --- ---> (Interne Ausnahme #0) Microsoft.VisualStudio.Composition.PartDiscoveryException: ReflectionTypeLoadException while enumerating types in assembly "C:\Program Files (x86)\Atlassian\Sourcetree\SourceTree.Host.Bitbucket.dll". Results will be incomplete. ---> System.Reflection.ReflectionTypeLoadException: Mindestens ein Typ in der Assembly kann nicht geladen werden. Rufen Sie die LoaderExceptions-Eigenschaft ab, wenn Sie weitere Informationen ben tigen. bei System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) bei System.Reflection.RuntimeModule.GetTypes() bei System.Reflection.Assembly.GetTypes() bei Microsoft.VisualStudio.Composition.PartDiscovery.<>c__DisplayClass28_0.b__0(Assembly a) --- Ende der internen Ausnahmestapel berwachung ---<--- ERROR [2025-01-27 14:14:33,473] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - PartDiscoveryException: Microsoft.VisualStudio.Composition.PartDiscoveryException: ReflectionTypeLoadException while enumerating types in assembly "C:\Program Files (x86)\Atlassian\Sourcetree\SourceTree.Host.Bitbucket.dll". Results will be incomplete. ---> System.Reflection.ReflectionTypeLoadException: Mindestens ein Typ in der Assembly kann nicht geladen werden. Rufen Sie die LoaderExceptions-Eigenschaft ab, wenn Sie weitere Informationen ben tigen. bei System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) bei System.Reflection.RuntimeModule.GetTypes() bei System.Reflection.Assembly.GetTypes() bei Microsoft.VisualStudio.Composition.PartDiscovery.<>c__DisplayClass28_0.b__0(Assembly a) --- Ende der internen Ausnahmestapel berwachung --- ERROR [2025-01-27 14:14:33,474] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - TypeLoadException: System.TypeLoadException: Der Typ "BitbucKit.Net.Api.Model.TwoZero.Workspace" in der Assembly "BitbucKit.Net.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" konnte nicht geladen werden. ERROR [2025-01-27 14:14:33,474] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - ReflectionTypeLoadException: System.Reflection.ReflectionTypeLoadException: Mindestens ein Typ in der Assembly kann nicht geladen werden. Rufen Sie die LoaderExceptions-Eigenschaft ab, wenn Sie weitere Informationen ben tigen. bei System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) bei System.Reflection.RuntimeModule.GetTypes() bei System.Reflection.Assembly.GetTypes() bei Microsoft.VisualStudio.Composition.PartDiscovery.<>c__DisplayClass28_0.b__0(Assembly a)

1 answer

0 votes
Brant Schroeder
Community Champion
October 17, 2025

@Andreas Ortner welcome to the Atlassian community

Did you find a solution?  Did you try updating incrementally?  

Andreas Ortner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 3, 2026

No unfortunately still the same problem with the newest version.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events