This is a migrated thread and some comments may be shown as answers.

Crashes Visual Studio

6 Answers 228 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Lee
Top achievements
Rank 1
Lee asked on 27 Apr 2011, 04:45 PM
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   
---------------------------

6 Answers, 1 is accepted

Sort by
0
Mihail
Telerik team
answered on 28 Apr 2011, 08:32 AM
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 >>

0
Michael
Top achievements
Rank 1
answered on 28 Apr 2011, 09:14 AM
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
0
Mel
Top achievements
Rank 2
answered on 28 Apr 2011, 09:15 AM
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.
0
Lee
Top achievements
Rank 1
answered on 28 Apr 2011, 05:58 PM
Found the addon causing the problem..

VSCommands

When it crashed, uninstalled VSCommands, reopen and it opens fine
0
Joachim
Top achievements
Rank 1
answered on 29 Apr 2011, 09:45 AM
Thanks Lee, I can confirm, disabling VSCommands 2010 stops the crashing. Would be nice to be able to use both though :-)
0
Mihail
Telerik team
answered on 29 Apr 2011, 12:05 PM
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 >>

Tags
General Discussions
Asked by
Lee
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Michael
Top achievements
Rank 1
Mel
Top achievements
Rank 2
Lee
Top achievements
Rank 1
Joachim
Top achievements
Rank 1
Share this question
or