Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,286
Community Members
 
Community Events
165
Community Groups

I cant start Sourcetree,help me please

Edited

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 Community Leader Nov 07, 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
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

60,238 views 127 26
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you