Error in file opening for translation

Hello, I am suddenly experiencing (yesterday everthing was ok) a problem in opening all files of my projects. These are projects containing single files. I receive this message: "The specified item is already part of a command bar"and after that nothing works anymore with Studio, nothing answers anymore. This the error detail: 

<SDLErrorDetails time="25/04/2017 12:12:07">
  <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[   in Sdl.Desktop.Platform.Implementation.CommandBars.AbstractCommandBar.InsertAfter(String itemId, ICommandBarItem item)
   in Sdl.Desktop.Platform.Implementation.CommandBars.SubCommandBar.InsertAfter(String itemId, ICommandBarItem item)
   in Sdl.TranslationStudio.Editor.TranslationEditor.Ribbons.RibbonTabHelper.InsertAfter(String itemId)
   in Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocumentEditor.CreateRibbonActions(ICommandBars editorCommandBars, IActionService actionService, TranslatableDocumentEditorActionsHelper translatableDocumentEditorActionsHelper)
   in Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocumentEditor.FillCommandBars(ICommandBars editorCommandBars)
   in Sdl.TranslationStudio.Editor.Shared.InternalEditorCommandBarProvider.FillCommandBars(ICommandBars commandBars)
   in Sdl.Desktop.Platform.AbstractViewWithParts.CreateSharedCommandBars(IViewPartReference viewPartReference)
   in Sdl.Desktop.Platform.AbstractViewWithParts.EnsureViewPartSite(IViewPartReference viewPartReference)
   in Sdl.Desktop.Platform.AbstractViewWithParts.Control_ShowingViewPart(IViewWithParts view, IViewPartReference viewPartReference)
   in Sdl.Desktop.Platform.WinForms.DockingViewContentControl.OnShowingViewPart(IViewPartReference viewPartReference)
   in Sdl.Desktop.Platform.WinForms.DockingViewContentControl.EnsureDockedViewPartControl(DockableControlPane pane)
   in Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPartPane(IViewPartReference viewPartReference, DockingViewPartLayoutInfo layoutInfo)
   in Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPart(IViewPartReference viewPartReference)
   in Sdl.Desktop.Platform.WinForms.DockingViewContentControl.Init(IViewWithParts view)
   in Sdl.Desktop.Platform.AbstractDockingView.OnInitControl()
   in Sdl.Desktop.Platform.AbstractViewWithParts.GetContentControl()
   in Sdl.Desktop.Platform.WinForms.ViewPane.set_ViewReference(IViewReference value)
   in Sdl.Desktop.Platform.WinForms.StudioWindowForm.UpdateActiveView()
   in Sdl.Desktop.Platform.Implementation.StudioWindow.set_ActiveView(IViewReference value)
   in Sdl.TranslationStudio.Editor.EditorService.SwitchToEditorView(Boolean rememberCurrentView)
   in Sdl.TranslationStudio.Editor.EditorService.OpenImpl(IDocumentDescriptor[] descriptors, IAbstractEditor[] editors, IEditorConfiguration[] configurations)
   in Sdl.TranslationStudio.Editor.EditorService.Open(IDocumentDescriptor descriptor)
   in Sdl.TranslationStudio.Editor.EditorService.OpenTranslatableFilesMerged(ITranslatableFile[] translatableFiles, WorkflowStage stage)
   in Sdl.TranslationStudio.Common.Files.FileUtil.OpenTranslatableFilesMerged(IEditorService service, ITranslatableFile[] files, Nullable`1 workflowStage)
   in Sdl.TranslationStudio.ProjectManagement.FilesView.Actions.AbstractOpenAction.Execute()
   in Sdl.Desktop.Platform.Implementation.CommandBars.StaticAction.Execute()
   in Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.<>c__DisplayClass3.<ExecuteAction>b__2()
   in Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)
   in Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
   in Sdl.Desktop.Platform.WinForms.IgCommandBarAction.Execute()
   in Sdl.Desktop.Platform.WinForms.IgCommandBarAction._lazyButtonTool_ToolClick(Object sender, ToolClickEventArgs e)
   in Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick(ToolClickEventArgs e)
   in Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)
   in Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)
   in Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick()
   in Infragistics.Win.UltraWinToolbars.ToolMenuItem.OnClick()
   in Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.DoClickProcessing(MouseEventArgs e)
   in Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.OnMouseUp(MouseEventArgs e)
   in Infragistics.Win.TextUIElementBase.OnMouseUp(MouseEventArgs e)
   in Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
   in Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
   in Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
   in Infragistics.Win.UltraWinToolbars.PopupControlBase.OnMouseUp(MouseEventArgs e)
   in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in 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.0.5821.4</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 8.1</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1040</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>TOSCHIBA\satellite</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.36366</DotNetFrameWork>
    <ComputerName>TOSCHIBA</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>7300332 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

Thank you for help! I don't know to solve the problem which is very urgent

Parents
  • Hi Maria,

    I would suggest you first try running a Windows Repair of Studio via Control Panel > Programs...

    If you don't know how to do this, it is explained with further possible solutions to try, here:

    gateway.sdl.com/.../communityknowledge

    Try them each individually in the order in which they are listed, until something works... Hope this helps!
    Fingers crossed,
    All the best,
    Ali

  • Dear Alison,  thank for your kind interest

    Unfortunately Workarounds 1 and 2 have failed. Workaround 3 seems to me a little bit dangeros... I am afraid I could lose data and this would be a real disaster.
    As I am working on Windows 8.1, what I have to do is the following:

    "You can reset Studio to default settings by renaming the following folders on your machine:

    NOTE: You can delete the folders below but ensure that you first back them up, including their contents, to avoid any data loss that may occur:  The backup would be necessary only if I wanted to delete the folders? But why to delete them? And then?

    C:\Users\[User_Name]\AppData\Local\SDL - rename the SDL Trados Studio and ProjectApi folder: I cannot see any ProjectApi folder - What new name should I give?

    C:\Users\[User_Name]\AppData\Roaming\SDL - rename the SDL Trados Studio and ProjectApi folder I cannot see any ProjectApi folder - What new name should I give?

    C:\Users\[User_Name]\Documents\Studio [VERSION] - rename the Studio [VERSION folder to Studio [VERSION]_Old"

    What do you suggest?

    Thank You very much

  • Hi Maria,

    The reason to delete/rename the folders is that after rebooting, Studio will recreate the folders with default settings and maybe overwrite whatever is causing the file opening conflict.

    Here's a good way to do it that avoids NO risk of any sort... To see my images more clearly, click once on them and they will open. Click the Back arrow to return to this page.

    With Studio closed down, rename the two files ProjectApiOLD and SDL Trados StudioOLD as you see here:

    And here the same:

    And then rename the Studio version you're working with by adding OLD to its name as here:

    Then restart Studio and it should restore new folders with default settings named correctly. The folders you've renamed will no longer have any effect but you have lost nothing. The folders you renamed will still be there but Studio will have created new folders with the default name as below:

    If the setup works now you can delete the files you renamed. If the resulting setup is no better and you wish to go back to your own settings, you'd just delete the new folders in each case and take the name of the folders you renamed back to their default names. 

    I hope this works for you,

    All the best,

    Alison

  • Thank You Alison for the clear explanation. The problem is as I told you that I cannot see any ProjectApi folder. This is what I see by following the paths suggested:

    Shal I try by renaming the only folder I see?

    By searching the ProjectApi folder I found it here, but if I go the same address path I cannot see it again... and, really, I am not able to manage this kind of things. ..

  • Hi Maria,

    I forgot you said that before. It did say on the web page that you need to make hidden folders visible.

    If you're using Windows 10, here's how:

    Open the Control Panel:
    (one way to do this is to hold the Windows Key and press the [X] key, then select Control Panel)
    Open File Explorer Options as follows:
    (one way is to type File Explorer Options in the Search Control Panel text box then click the File Explorer Options icon that appears)
    Click on the View tab.
    Then:
    To show hidden folders, select the radio button 'Show hidden files and folders' in the Hidden files and folders section of the Advanced settings window.
    To show all file name extensions, remove the check mark from the check box Hide extensions for known file types.
    To show protected operation system files, remove the check mark from the check box labelled 'Hide protected operating system files'.
    Press the Apply button and then the OK button and close all dialogs.

    So sorry, I should have thought to explain this!
    All the best,
    Ali
Reply
  • Hi Maria,

    I forgot you said that before. It did say on the web page that you need to make hidden folders visible.

    If you're using Windows 10, here's how:

    Open the Control Panel:
    (one way to do this is to hold the Windows Key and press the [X] key, then select Control Panel)
    Open File Explorer Options as follows:
    (one way is to type File Explorer Options in the Search Control Panel text box then click the File Explorer Options icon that appears)
    Click on the View tab.
    Then:
    To show hidden folders, select the radio button 'Show hidden files and folders' in the Hidden files and folders section of the Advanced settings window.
    To show all file name extensions, remove the check mark from the check box Hide extensions for known file types.
    To show protected operation system files, remove the check mark from the check box labelled 'Hide protected operating system files'.
    Press the Apply button and then the OK button and close all dialogs.

    So sorry, I should have thought to explain this!
    All the best,
    Ali
Children