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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I cant start Sourcetree,help me please Edited

hayami I'm New Here Nov 06, 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 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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

2,374 views 4 3
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