Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I cant start Sourcetree,help me please

hayami November 6, 2020

windows 10 2004 with Sourcetree-3.3.9

Here is the log,but i cant find the solution

I try to uninstall and install again but it doesnt work

ERROR [2020-11-06 17:47:53,347] [1] [Sourcetree.Composition.VSMef.Net471.CompositionExceptionHelper] [Log] - CompositionException [Errors occurred during discovery.]
ERROR [2020-11-06 17:47:53,363] [1] [Sourcetree.Composition.VSMef.Net471.CompositionExceptionHelper] [Log] - Aggregate Exception:
System.AggregateException: One or more errors occurred. ---> Microsoft.VisualStudio.Composition.PartDiscoveryException: ReflectionTypeLoadException while enumerating types in assembly "C:\Users\19080\AppData\Local\SourceTree\app-3.3.9\Microsoft.TeamFoundation.Client.dll". Results will be incomplete. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Microsoft.VisualStudio.Composition.PartDiscovery.<>c__DisplayClass28_0.<CreateAssemblyDiscoveryBlockChain>b__0(Assembly a)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
---> (Inner Exception #0) Microsoft.VisualStudio.Composition.PartDiscoveryException: ReflectionTypeLoadException while enumerating types in assembly "C:\Users\19080\AppData\Local\SourceTree\app-3.3.9\Microsoft.TeamFoundation.Client.dll". Results will be incomplete. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Microsoft.VisualStudio.Composition.PartDiscovery.<>c__DisplayClass28_0.<CreateAssemblyDiscoveryBlockChain>b__0(Assembly a)
--- End of inner exception stack trace ---<---

ERROR [2020-11-06 17:47:53,367] [1] [Sourcetree.Composition.VSMef.Net471.CompositionExceptionHelper] [Log] - PartDiscoveryException:
Microsoft.VisualStudio.Composition.PartDiscoveryException: ReflectionTypeLoadException while enumerating types in assembly "C:\Users\19080\AppData\Local\SourceTree\app-3.3.9\Microsoft.TeamFoundation.Client.dll". Results will be incomplete. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Microsoft.VisualStudio.Composition.PartDiscovery.<>c__DisplayClass28_0.<CreateAssemblyDiscoveryBlockChain>b__0(Assembly a)
--- End of inner exception stack trace ---

1 answer

0 votes
Daniel Ebers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 7, 2020

Hi hayami,

that is quite a hard one. In order to debug this - do you have the chance to test on a different user on the same machine? Doing so you could narrow down if there are some (maybe wrong?) settings in your current user profile which prevent the start of Sourcetree.

In case this should not help you could investigate further if a virus scanner, or some other protection software is maybe preventing a start.

From looking into other threads here in community there are some signs this also could be related to some frameworks (.NET Framework) that are necessary for Sourcetree which could explain why a reinstall of Sourcetree did not do the trick.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events