Test View return an exception

4 posts, 0 answers
  1. Sam Davis
    Sam Davis avatar
    16 posts
    Member since:
    May 2010

    Posted 10 Sep 2010 Link to this post

    When I switch to the Test View tab in WebUI Developer Edition, the Window returns the following exception. I have installed version 2010.2.830.

    An exception was encountered while constructing the content of this frame.  This information is also logged by running the application with the /log parameter on the command line, which stores results in "C:\Users\sdavis\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml".

    Exception details:
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: There is already a command handler for the menu command 'b85579aa-8be0-4c4f-a850-90902b317571 : 13074'.
       at System.ComponentModel.Design.MenuCommandService.AddCommand(MenuCommand command)
       at Microsoft.VisualStudio.TestTools.Vsip.CommandHelper.AddCommand(IMenuCommandService menuService, EventHandler invokeHandler, EventHandler statusHandler, CommandID id)
       at Microsoft.VisualStudio.TestTools.TestCaseManagement.TestViewToolWindow.Initialize()
       at Microsoft.VisualStudio.TestTools.TestCaseManagement.TestViewToolWindowHost..ctor()
       --- End of inner exception stack trace ---
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)
       at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
       at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid& toolWindowType, UInt32 id)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

  2. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 10 Sep 2010 Link to this post

    Hi Sam,

    A quick search pointed me to this issue on MS Connect. There is no work-around provided there and the issue is closed. However, I also got into this related thread in our forums and this blog post suggesting a work-around. Can you check if that helps?

    Regards,
    Konstantin Petkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. MBryga
    MBryga avatar
    1 posts
    Member since:
    Mar 2012

    Posted 05 Mar 2013 Link to this post

    The blog looked promising but suggested solution did not help.
  4. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 06 Mar 2013 Link to this post

    Hi Mike,

    Please try the workaround provided in this MSDN blog post:
    http://blogs.msdn.com/b/charles_sterling/archive/2010/04/21/test-view-issue-an-exception-was-encountered-while-constructing-the-content-of-this-frame.aspx

    If this doesn't help, please contact Microsoft for assistance with this Microsoft Test View problem.

    Regards,
    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!