Crashes Visual Studio

7 posts, 0 answers
  1. Lee
    Lee avatar
    4 posts
    Member since:
    May 2009

    Posted 27 Apr 2011 Link to this post

    This only happens when I load a solution, and it happens when JustTrace is enabled or disabled

    Current addons:

    .NET Reflector
    ANTS
    DevExpress CodeRush
    DevExpress Refactor Plus
    DXCore
    CodeCompare

    It might be conflicting with one of these

    Error:

    ---------------------------
    ---------------------------
    Microsoft.Practices.ServiceLocation.ActivationException: Activation error occured while trying to get instance of type IOutliningManagerService, key "" ---> Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService", name = "(none)".

    Exception occurred while: while resolving.

    Exception is: InvalidOperationException - The current type, Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService, is an interface and cannot be constructed. Are you missing a type mapping?

    -----------------------------------------------

    At the time of the exception, the container was:



      Resolving Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService,(none)

     ---> System.InvalidOperationException: The current type, Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService, is an interface and cannot be constructed. Are you missing a type mapping?

       at Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(IBuilderContext context)
       at BuildUp_Microsoft.VisualStudio.Text.Outlining.IOutliningManagerService(IBuilderContext )
       at Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context)
       at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
       at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
       at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
       --- End of inner exception stack trace ---
       at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
       at Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides)
       at Microsoft.Practices.Composite.UnityExtensions.UnityServiceLocatorAdapter.DoGetInstance(Type serviceType, String key)
       at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
       --- End of inner exception stack trace ---
       at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
       at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService]()
       at #Vg.#Xg.#yy()
       at #Vg.#Xg.#tk(ITextView textView)
       at #Vg.#Xg.#Ay(ITextView textView)
       at #Og.#Pg.#uy(#Qg args)
       at #Og.#Pg.<.ctor>b__0(IEvent`1 args)
       at System.Collections.Generic.AnonymousObserver`1.Next(T value)
       at System.Collections.Generic.AbstractObserver`1.OnNext(T value)
       at System.Collections.Generic.AnonymousObservable`1.AutoDetachObserver.Next(T value)
       at System.Collections.Generic.AbstractObserver`1.OnNext(T value)
       at System.Linq.Observable.<>c__DisplayClass512`1.<>c__DisplayClass514.<>c__DisplayClass516.<Throttle>b__50f()
       at System.Concurrency.ThreadPoolScheduler.<>c__DisplayClass8.<Schedule>b__6(Object _)
       at System.Threading._TimerCallback.TimerCallback_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading._TimerCallback.PerformTimerCallback(Object state)
    ---------------------------
    OK   
    ---------------------------
  2. Mihail
    Admin
    Mihail avatar
    75 posts

    Posted 28 Apr 2011 Link to this post

    Hi Lee,

    Thank you for your feedback. We have not tested JustTrace with all add-ins listed in yout post. There might be compatibility issues. We will investigate it further and let you know. You could help us by disabling one by one the add-ins you have until you find the conflicting add-in. Can you tell us what Visual Studio version you use?

    Best wishes,
    Mike
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. DevCraft banner
  4. Michael
    Michael avatar
    1 posts
    Member since:
    Nov 2010

    Posted 28 Apr 2011 Link to this post

    Same error here :(

    Visual Studio Version:
    Visual Studio 2010, 10.0.40219.1 SP1Rel

    Installed Addons:
    Visual SVN
    RadControls for ASP.NET
    Open Access ORM
    VSCommands
    GhostDoc
    VS Powertools

    All the best

    Michael
  5. Mel
    Mel avatar
    9 posts
    Member since:
    Nov 2007

    Posted 28 Apr 2011 Link to this post

    VS2008 SP1, with ReSharper 5, VsDocman.

    Crashes when you start a project (ASP.NET Web App - Cassini Web Server), if you then start VS2008 again and disable it from the menu (Telerik -> JustTrace -> Enable JustTrace) the project runs fine, but if you then try to enable it, it wont enable. You have to restart VS, enable it before debugging your app.
  6. Lee
    Lee avatar
    4 posts
    Member since:
    May 2009

    Posted 28 Apr 2011 Link to this post

    Found the addon causing the problem..

    VSCommands

    When it crashed, uninstalled VSCommands, reopen and it opens fine
  7. Joachim
    Joachim avatar
    1 posts
    Member since:
    Apr 2011

    Posted 29 Apr 2011 Link to this post

    Thanks Lee, I can confirm, disabling VSCommands 2010 stops the crashing. Would be nice to be able to use both though :-)
  8. Mihail
    Admin
    Mihail avatar
    75 posts

    Posted 29 Apr 2011 Link to this post

    Hello Lee,

    Thank you very much for your cooperation. We managed to reproduce the issue on our side and will try to fix it. I added some Telerik points to your account.


    Greetings,
    Mike
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top
DevCraft banner