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 Reply Children
  • 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
  • Don't worry Alison, you told me and all explanations are given in the link you gave me in your first answer.You are very helpful. I'll try to have hidden folders visible, but, you know, I'm really worried...I am in the middle of a job that I cannot finish and the time goes on...What I am just supposed to do is translating through a system that should be reliable, I shouldn't find myself in the condition to fix problems about which I don't know anything...Anyhow thank you very much for your help! I'll try to get out of this situation
  • Hi Maria,

    Sorry it was me who answered rather than an SDL employee who would probably have resolved your problem very quickly. I saw nobody had replied so jumped in. 

    I know this is frustrating but with software as complex as Studio, though a problem like this is fairly rare, when it happens, there is usually a number of possible reasons why and usually they are triggered by something random such as a Windows Update or a non-deliberate combination of key strikes, or something specific that the software, computer setup or user has done but that Studio or other software (or a combination of both) were not programmed to accommodate.

    I would suggest you contact the support team who are there to resolve this sort of problem but that would take further time you don't have. So, given the urgency of your situation, if  is reading this and is free to do so I expect he would be happy to Skype you and/or link to your computer and sort this out for you quickly.

    Please don't give up!

    All the best,

    Ali

  • Dear Alison, I thank you for your words. I did everything according the explanations but now I have a new version of SDL where all my projects have disappeared....! I really need some help. I will contact the support team. Anyhow my skype contact is r_m.cristina
  • Hi Maria,


    Your projects are still accessible, they've just been removed from the Projects list in Studio because everything has been reset and any projects that were in the default Studio folder in the 'Documents' directory are still in the old Studio folder that you renamed. So the file path has changed, thus Studio is not seeing the content automatically following the path in the project settings.

    The longest way to do this is to click 'Open Project' in the Projects View in Studio (or File>Open). It will take you to where Studio stores projects as default. You then need to navigate to the 'Old' Studio folder to find everything and re-add files, TMs, termbases when an error message appears to say it can't be found.

    Quicker and better is to copy what you need across to the new Studio folder using Windows Explorer.

    All the best,
    Ali

    (content edited further to a Skype conversation with Maria)

  • Oh yes I'm there! I can finally open again the file! Thank you very much Alison for your precious help. All the best to you!
  • Great!!! I'm really pleased I could help and sorry I didn't explain things as fully as you needed - I'm rushing!

    'More haste, less speed' as they say!

    You have my Skype details now, if you're in a panic again, feel free to message me.

    All the best,
    Ali :))