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.

Parents
  • 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]
  • <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>

Reply
  • <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>

Children
  • 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>