Error message: Key already exists

When I open a file for a translation, I receive this error message: Key already exists Nome parametro: key. What does this means? Indeed the only function not working after I start translating is the preview, but this is subject of another following question, because I am still struggling against more and more problems in displaying it. Thanks

Parents
  • Hello Maria,

    Can you provide a copy of the error stack?  Just save the error to your desktop by clicking on this icon:

    Then insert the file to your post using the advanced editing options when you reply.  This will provide better information to help troubleshoot this message.

    Regards

    Paul

    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

  • <SDLErrorDetails time="10/01/2017 12:19:45">
      <ErrorMessage>Key already exists
    Nome parametro: Key</ErrorMessage>
      <Exception>
        <Type>System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <ParamName>Key</ParamName>
        <HelpLink />
        <Source>Infragistics4.Shared.v14.2</Source>
        <HResult>-2147024809</HResult>
        <StackTrace><![CDATA[   in Infragistics.Shared.KeyedSubObjectsCollectionBase.ValidateKeyDoesNotExist(String key, IKeyedSubObject ignoreObject)
       in Infragistics.Shared.KeyedSubObjectsCollectionBase.ValidateKey(String key, IKeyedSubObject ignoreObject)
       in Infragistics.Win.UltraWinToolbars.RibbonGroupCollection.AddGroupHelper(RibbonGroup group, Int32 index, Boolean notify, Boolean validateKey)
       in Infragistics.Win.UltraWinToolbars.RibbonGroupCollection.Add(RibbonGroup group)
       in Sdl.Desktop.Platform.WinForms.IgRibbonGroup.Create(INativeCommandBarItemCollection nativeCommandBarItemCollection, Int32 index)
       in Sdl.Desktop.Platform.Implementation.CommandBars.SubCommandBarItem.Create(INativeCommandBarItemCollection nativeCommandBarItemCollection, Int32 index)
       in Sdl.Desktop.Platform.WinForms.IgRibbonTab.UpdateCommandBar(Boolean force)
       in Sdl.Desktop.Platform.WinForms.IgRibbon.UpdateCommandBar(Boolean force)
       in Sdl.Desktop.Platform.Implementation.CommandBars.SubCommandBar.UpdateCommandBar(Boolean force)
       in Sdl.Desktop.Platform.Implementation.CommandBars.SubCommandBars.Update(Boolean force)
       in Sdl.Desktop.Platform.Implementation.CommandBars.SubCommandBars.set_VisibleInParent(Boolean value)
       in Sdl.Desktop.Platform.AbstractViewWithParts.UpdateViewPartCommandBarProviderVisibility()
       in Sdl.Desktop.Platform.AbstractViewWithParts.OnActiveViewPartChanged(IViewPartReference viewPartReference)
       in Sdl.TranslationStudio.Editor.EditorView.OnActiveViewPartChanged(IViewPartReference viewPartReference)
       in Sdl.Desktop.Platform.AbstractViewWithParts.Control_ActiveViewPartChanged(IViewWithParts view, IViewPartReference viewPartReference)
       in Sdl.Desktop.Platform.WinForms.DockingViewContentControl.OnActiveViewPartChanged(IViewPartReference viewPartReference)
       in Sdl.Desktop.Platform.WinForms.DockingViewContentControl.InternalActivateViewPart(IViewPartReference viewPartToActivate)
       in Sdl.Desktop.Platform.WinForms.DockingViewContentControl._tabControl_SelectedTabChanged(Object sender, SelectedTabChangedEventArgs e)
       in Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnSelectedTabChanged(SelectedTabChangedEventArgs e)
       in Infragistics.Win.UltraWinTabControl.UltraTabControlBase.RaiseEvent(UltraTabControlEventId id, EventArgs e)
       in Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnManagerSelectedTabItemChanged(Object sender, SelectedTabItemChangedEventArgs e)
       in Infragistics.Win.UltraWinTabs.TabManager.set_SelectedTabItem(ITabItem value)
       in Infragistics.Win.UltraWinTabControl.UltraTabControlBase.SetSelectedTab(UltraTab tab)
       in Infragistics.Win.UltraWinTabControl.UltraTabControlBase.set_SelectedTab(UltraTab value)
       in Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPartTab(IViewPartReference viewPartReference, DockingViewPartLayoutInfo layoutInfo)
       in Sdl.Desktop.Platform.WinForms.DockingViewContentControl.AddViewPart(IViewPartReference viewPartReference)
       in Sdl.Desktop.Platform.WinForms.DockingViewContentControl.NotifyViewPartAdded(IViewPartReference viewPartReference)
       in Sdl.Desktop.Platform.AbstractViewWithParts.AddViewPart(IViewPartReference viewPartReference)
       in Sdl.Desktop.Platform.AbstractDockingView.AddViewPart(IViewPartReference viewPartReference)
       in Sdl.TranslationStudio.Editor.EditorView.AddDocumentViewPart(IViewPartReference documentViewPartReference)
       in Sdl.TranslationStudio.Editor.Shared.InternalEditorContext.AddDocumentViewPart(IDocumentViewPart documentViewPart)
       in Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.AfterLoad(IJob job)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>14.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>14.0.5760.1</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>

    Thnak you for your answer. This is the copy of the error stack

  • Hi, the error still appears everytime a file is opened for translation. In addition to that I also see an error when trying to see which files are in a project accessing through the context menu: "No reference to this project is known". Then I go directly to the File window and I can see and open the files for translation. Have any input to give me? Thank you very mcuh for your help
  • Do you have any AppStore apps installed? If you do can you remove them and run Studio again? Easiest way to do this for a test is just rename this folder:

    c:\Users\[USERNAME]\AppData\Roaming\SDL\SDL Trados Studio\14\Plugins\

    So maybe call it this at the end:

    ................ Roaming\SDL\SDL Trados Studio\14\Plugins_original

    Restart Studio and no plugins will be loaded. If it doesn't help just delete this one which has been recreated:

    c:\Users\[USERNAME]\AppData\Roaming\SDL\SDL Trados Studio\14\Plugins\

    Then rename the Plugins_original as Plugins again.

    Regards

    Paul

    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

Reply Children
  • Thanks Paul, I did so: Now I don't see anymore the errore message "No reference to this project is known". but the other message still persists after opening a file for translation; now it is not clear how to go on according to your suggestions:
    "If it doesn't help just delete this one which has been recreated:
    c:\Users\[USERNAME]\AppData\Roaming\SDL\SDL Trados Studio\14\Plugins\
    Then rename the Plugins_original as Plugins again."

    What do you mean by "...delete this one which has been recreated:
    c:\Users\[USERNAME]\AppData\Roaming\SDL\SDL Trados Studio\14\Plugins\"
    You mean I shall just rename"_original" turning it to its original name? (Indeed the inside folders Packages and Unpackaged are empty). Or shall I delete the new folder "Plugins_original" and replace it with a folder "Plugins" Thanks a lot.