Key not found, now failed to deactivate view: Editor

Running Studio 2017. Wanted to add one character to ribbon, program suddenly froze on a full editor screen but would not take input. Rebooted, received numerous errors when trying to open file. It shows project there and 47% completed but I cannot open it to edit it. I reset it in the Windows control panel; no change. Updated Windows completely, downloaded the Freshstart add-on, also no luck but now the error I get when I double-click on the project is "failed to deactivate view: Editor"

I am unable to open any other project and cannot create a new project so far. Tried with both existing document and a completely new one. Existing will not work and new document returns Key not found error.

I am at a loss.

  • Hello ,

    Could you please post the full error stack- this often provided necessary information as to the cause of the problem

    Error message in Trados Studio with steps: 1) Click on the icon, 2) Save the XML file to your desktop, 3) Add file to the thread.

    In the meantime- i would suggest resetting Windows layout in Studio- View- Reset Windows layout

    Trados Studio interface showing the menu with options including 'Reset Windows Layout' under the 'View' tab.

    Lydia Simplicio | RWS Group

    _______
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 11:44 AM (GMT 0) on 4 Mar 2024]
  • I will upload the photos as soon as I can, but I already tried to reset window and it had no effect.

  • <SDLErrorDetails time="10/21/2020 6:19:59 AM">
      <ErrorMessage>Failed to deactivate view 'Editor'.</ErrorMessage>
      <Exception>
        <Type>Sdl.Desktop.Platform.StudioException, Sdl.Desktop.Platform, Version=5.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
        <HelpLink />
        <Source>Sdl.Desktop.Platform</Source>
        <HResult>-2146233088</HResult>
        <StackTrace><![CDATA[   at Sdl.Desktop.Platform.Implementation.StudioWindow.set_ActiveView(IViewReference value)
       at Sdl.TranslationStudio.ProjectManagement.ProjectManagementService.SwitchToFileView()
       at Sdl.TranslationStudio.ProjectManagement.ProjectsView.ProjectsListViewPart._control_DefaultAction(Object sender, EventArgs e)
       at Sdl.Desktop.Common.DataList.OnDefaultAction(EventArgs e)
       at Sdl.Desktop.Common.DataList.BodyControl.OnDoubleClick(EventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.UserControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
        <InnerException>
          <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
          <HelpLink />
          <Source>Sdl.Desktop.Platform</Source>
          <HResult>-2146233079</HResult>
          <StackTrace><![CDATA[   at Sdl.Desktop.Platform.AbstractViewPart.get_ViewPartSite()
       at Sdl.Desktop.Platform.AbstractViewWithParts.SetViewPartCommandBarVisibility(Boolean visible)
       at Sdl.Desktop.Platform.AbstractViewWithParts.OnDeactivate()
       at Sdl.TranslationStudio.Editor.EditorView.OnDeactivate()
       at Sdl.Desktop.Platform.Implementation.ViewSite.OnDeactivate()
       at Sdl.Desktop.Platform.Implementation.StudioWindow.set_ActiveView(IViewReference value)]]></StackTrace>
        </InnerException>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>14.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>14.1.10018.54792</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>DESKTOP-ME7B3L2\jsank</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-ME7B3L2</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8068764 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

  • There should be two XML files there; I just tried to open two different projects and each got a different error. Meanwhile, I cannot even find the current project listed.

  • Still unable to open any project or file in Trados. Attaching the stacks from the last two attempts.

    <SDLErrorDetails time="10/21/2020 10:26:08 AM">
      <ErrorMessage>The specified item is already part of a command bar.</ErrorMessage>
      <Exception>
        <Type>System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <ParamName />
        <HelpLink />
        <Source>Sdl.Desktop.Platform</Source>
        <HResult>-2147024809</HResult>
        <StackTrace><![CDATA[   at Sdl.Desktop.Platform.Implementation.CommandBars.AbstractCommandBar.InsertAfter(String itemId, ICommandBarItem item)
       at Sdl.Desktop.Platform.Implementation.CommandBars.SubCommandBar.InsertAfter(String itemId, ICommandBarItem item)
       at Sdl.TranslationStudio.Editor.TranslationEditor.Ribbons.RibbonTabHelper.InsertAfter(String itemId)
       at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocumentEditor.CreateRibbonActions(ICommandBars editorCommandBars, IActionService actionService, TranslatableDocumentEditorActionsHelper translatableDocumentEditorActionsHelper)
       at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocumentEditor.FillCommandBars(ICommandBars editorCommandBars)
       at Sdl.TranslationStudio.Editor.Shared.InternalEditorCommandBarProvider.FillCommandBars(ICommandBars commandBars)
       at Sdl.Desktop.Platform.AbstractViewWithParts.CreateSharedCommandBars(IViewPartReference viewPartReference)
       at Sdl.Desktop.Platform.AbstractViewWithParts.EnsureViewPartSite(IViewPartReference viewPartReference)
       at Sdl.Desktop.Platform.AbstractViewWithParts.Control_ShowingViewPart(IViewWithParts view, IViewPartReference viewPartReference)
       at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.OnShowingViewPart(IViewPartReference viewPartReference)
       at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.EnsureDockedViewPartControl(DockableControlPane pane)
       at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPartPane(IViewPartReference viewPartReference, DockingViewPartLayoutInfo layoutInfo)
       at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPart(IViewPartReference viewPartReference)
       at Sdl.Desktop.Platform.WinForms.DockingViewContentControl.Init(IViewWithParts view)
       at Sdl.Desktop.Platform.AbstractDockingView.OnInitControl()
       at Sdl.Desktop.Platform.AbstractViewWithParts.GetContentControl()
       at Sdl.Desktop.Platform.WinForms.ViewPane.set_ViewReference(IViewReference value)
       at Sdl.Desktop.Platform.WinForms.StudioWindowForm.UpdateActiveView()
       at Sdl.Desktop.Platform.Implementation.StudioWindow.set_ActiveView(IViewReference value)
       at Sdl.TranslationStudio.Editor.EditorService.SwitchToEditorView(Boolean rememberCurrentView)
       at Sdl.TranslationStudio.Editor.EditorService.OpenImpl(IDocumentDescriptor[] descriptors, IAbstractEditor[] editors, IEditorConfiguration[] configurations)
       at Sdl.TranslationStudio.Editor.EditorService.Open(IDocumentDescriptor descriptor)
       at Sdl.TranslationStudio.Editor.EditorService.OpenTranslatableFile(ITranslatableFile translatableFile, Codepage codepage, WorkflowStage stage)
       at Sdl.TranslationStudio.Editor.EditorService.OpenNewTranslatableFile(FileScanner scanner, String filePath, Codepage codepage, Language sourceLanguage, Language targetLanguage, WorkflowStage workflowStage)
       at Sdl.TranslationStudio.Editor.EditorService.OpenTranslatableFile(String filePath, Codepage codepage)
       at Sdl.TranslationStudio.Editor.EditorService.OpenTranslatableFile(String filePath)
       at Sdl.TranslationStudio.Editor.TranslationEditor.Actions.OpenDocumentAction.Execute()
       at Sdl.Desktop.Platform.Implementation.CommandBars.StaticAction.Execute()
       at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.<>c__DisplayClass30_0.<ExecuteAction>b__0()
       at Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)
       at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
       at Sdl.Desktop.Platform.WinForms.IgCommandBarAction.Execute()
       at Sdl.Desktop.Platform.WinForms.IgCommandBarAction._lazyButtonTool_ToolClick(Object sender, ToolClickEventArgs e)
       at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick(ToolClickEventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)
       at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick()
       at Infragistics.Win.UltraWinToolbars.ToolMenuItem.OnClick()
       at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.DoClickProcessing(MouseEventArgs e)
       at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.OnMouseUp(MouseEventArgs e)
       at Infragistics.Win.TextUIElementBase.OnMouseUp(MouseEventArgs e)
       at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
       at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
       at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>14.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>14.1.10018.54792</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>DESKTOP-ME7B3L2\jsank</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-ME7B3L2</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8068764 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>
    <SDLErrorDetails time="10/21/2020 10:28:50 AM">
      <ErrorMessage>Cannot access site for type Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPart before the view part has been initialized.</ErrorMessage>
      <Exception>
        <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>Sdl.Desktop.Platform</Source>
        <HResult>-2146233079</HResult>
        <StackTrace><![CDATA[   at Sdl.Desktop.Platform.AbstractViewPart.get_ViewPartSite()
       at Sdl.Desktop.Platform.AbstractViewWithParts.ShouldShowViewPartCommandBarProvider(IViewPartCommandBarProvider p)
       at Sdl.Desktop.Platform.AbstractViewWithParts.UpdateViewPartCommandBarProviderVisibility()
       at Sdl.Desktop.Platform.AbstractViewWithParts.RegisterViewPartCommandBarProvider(IViewPartCommandBarProvider viewPartCommandBarProvider)
       at Sdl.TranslationStudio.Editor.Shared.DocumentViewProviderReference.get_DocumentViewProvider()
       at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument..ctor(AbstractInternalEditor editor, IDocumentDescriptor descriptor)
       at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument..ctor(TranslatableDocumentEditor editor, ITranslatableDocumentDescriptor descriptor, ITranslatableDocumentEditorConfiguration configuration)
       at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocumentEditor.CreateDocument(IDocumentDescriptor descriptor)
       at Sdl.TranslationStudio.Api.Editor.AbstractInternalEditor.OpenDocument(IDocumentDescriptor descriptor, IInternalEditorContext context)
       at Sdl.TranslationStudio.Editor.EditorService.CreateDocument(IAbstractEditor editor, IDocumentDescriptor descriptor, IEditorConfiguration configuration)
       at Sdl.TranslationStudio.Editor.EditorService.OpenImpl(IDocumentDescriptor[] descriptors, IAbstractEditor[] editors, IEditorConfiguration[] configurations)
       at Sdl.TranslationStudio.Editor.EditorService.Open(IDocumentDescriptor descriptor)
       at Sdl.TranslationStudio.Editor.EditorService.OpenTranslatableFile(ITranslatableFile translatableFile, Codepage codepage, WorkflowStage stage)
       at Sdl.TranslationStudio.Editor.EditorService.OpenNewTranslatableFile(FileScanner scanner, String filePath, Codepage codepage, Language sourceLanguage, Language targetLanguage, WorkflowStage workflowStage)
       at Sdl.TranslationStudio.Editor.EditorService.OpenTranslatableFile(String filePath, Codepage codepage)
       at Sdl.TranslationStudio.Editor.EditorService.OpenTranslatableFile(String filePath)
       at Sdl.TranslationStudio.Editor.TranslationEditor.Actions.OpenDocumentAction.Execute()
       at Sdl.Desktop.Platform.Implementation.CommandBars.StaticAction.Execute()
       at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.<>c__DisplayClass30_0.<ExecuteAction>b__0()
       at Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)
       at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
       at Sdl.Desktop.Platform.WinForms.IgCommandBarAction.Execute()
       at Sdl.Desktop.Platform.WinForms.IgCommandBarAction._lazyButtonTool_ToolClick(Object sender, ToolClickEventArgs e)
       at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick(ToolClickEventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)
       at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick()
       at Infragistics.Win.UltraWinToolbars.ToolMenuItem.OnClick()
       at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.DoClickProcessing(MouseEventArgs e)
       at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.OnMouseUp(MouseEventArgs e)
       at Infragistics.Win.TextUIElementBase.OnMouseUp(MouseEventArgs e)
       at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
       at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
       at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>14.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>14.1.10018.54792</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>DESKTOP-ME7B3L2\jsank</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-ME7B3L2</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8068764 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

  • Support Case Id : 00541904. Support case has been logged for your assistance. Please check your SDL Community email address for updates.

    Vlad Bondor | Senior Technical Support Manager | RWS

  • I am trying to find where I can follow the support case via the ID number but am not finding anything. I want to accelerate this process in any way I can, including purchasingnecessary upgrade and support.

  • I am trying to find where I can follow the support case via the ID number but am not finding anything. I want to accelerate this process in any way I can, including purchasingnecessary upgrade and support.

    The only way to follow a case is if you have a support contract.  Anything else and you have to rely upon email from the support team to contact you.  If you wish to purchase a support contract and deal directly with the technical support team whenever you like you can do this through your SDL Account.  You will have to upgrade to the latest version of the software however because these contracts include free upgrades once you are on the latest version to ensure we can support you properly:

    Screenshot of SDL Account support page with an arrow pointing to the 'Support & Maintenance Agreement' section.

    You should be able to include support as an option when you upgrade.  If you struggle please contact the livechat team and they can help you with this:

    https://www.sdltrados.com/contact/chat.html

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 11:44 AM (GMT 0) on 4 Mar 2024]
  • Thank you for this reply. I have sent a message via the contact form because I cannot find a link to the livechat.

  • That will work... not as fast... but it will work.  I'm curious though and am wondering if you see something different to me?

    Screenshot of SDL Trados website with a Live Chat option and a message prompt asking if you see this but not that, suggesting a display issue.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 11:44 AM (GMT 0) on 4 Mar 2024]