Trados 2024 18.0.2.3255 Error Message - Unexpected exception when initializing view part AI assistant

Hi,

I've been running Trados for years, Trados 2024 since the start of the year. I now get the following error message(s) when I try to open a project:

Error dialog box with a red cross icon, titled 'Fehler', displaying the message 'Unexpected exception when initializing view part AI Assistant'.

Once I press okay to that one, the following appears:

Error dialog box with a red cross icon, titled 'Fehler', displaying the message 'Key not found: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' Parametername: key'.

The project(s) appear in the project list, but the errors come up when I try to load them.

I also already tried to restart the computer. I've deinstalled, then reinstalled Trados 2024, but nothing seems to work.

Has anyone encountered the same issue, and found a solution?

Sarina



Generated Image Alt-Text
[edited by: RWS Community AI at 10:31 AM (GMT 0) on 21 Mar 2025]
emoji
  • "Probability score": 0.7

    "Question improvement suggestion": Please provide the exact error messages that you are seeing, as the links to the images are not accessible. Also, mention if there were any recent changes to your system or Trados Studio before the issue started.

    "In the meantime, based on the information you have provided, here is a suggested answer to your question:"

    Hello Sarina,

    Based on your description, it seems like you're encountering an issue when trying to open a project in Trados Studio 2024. Here are some steps you can try to resolve this issue:

    Step 1: Close Trados Studio.

    Step 2: Press Windows + R, type '%temp%' and clear the temporary files. This will help to remove any temporary files that might be causing the issue.

    Step 3: Disable User Account Control via Control Panel. This step is optional and should be done with caution as it can affect the security of your system.

    Step 4: Reset Trados Studio settings files. You can do this by navigating to the folder where Trados Studio stores its settings and deleting the files. Please note that this will reset all your settings to default.

    Step 5: Run a repair through the installation wizard accessed from the Control Panel's 'Uninstall a program' section. This can help to fix any issues with the installation of Trados Studio.

    If after following these steps the issue persists, it may be a specific problem with your installation or system. In this case, it would be helpful to have the exact error messages that you are seeing, as well as any recent changes to your system or Trados Studio before the issue started.

    I hope this answer addressed your question. If not, please reject the answer, add the question improvement suggestion information, and click the RWS Community AI checkbox on the right to try again.

    RWS Community AI

    emoji
  • I've already cleared the temporary files, and run a repair as well. This didn't have any effect.

    emoji
  • More info on the error code:

    <SDLErrorDetails time="21.03.2025 16:02:49">
      <ErrorMessage>Unexpected exception when initializing view part AI Assistant</ErrorMessage>
      <Exception>
        <Type>Sdl.Desktop.Platform.StudioException, Sdl.Desktop.Platform, Version=18.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
        <HelpLink />
        <Source>Sdl.Desktop.Platform</Source>
        <HResult>-2146233088</HResult>
        <StackTrace><![CDATA[   bei Sdl.Desktop.Platform.AbstractDockingView.EnsureViewPartSite(IViewPart viewPart)
       bei Sdl.Desktop.Platform.AbstractDockingView.Control_ShowingViewPart(IViewWithParts view, IViewPart viewPart)
       bei Sdl.Platform.UI.ViewControlBase.OnShowingViewPart(IViewPart viewPart)
       bei Sdl.Platform.UI.ViewControlBase.EnsureDockedViewPartControl(DockableControlPane pane)
       bei Sdl.Platform.UI.ViewControlBase.Init(IViewWithParts view)
       bei Sdl.Platform.UI.TabbedViewControl.Init(IViewWithParts view)
       bei Sdl.Desktop.Platform.AbstractDockingView.GetContentControl()
       bei Sdl.Platform.UI.ViewPane.SetView(IView view)
       bei Sdl.Platform.UI.StudioWindowForm.UpdateActiveView()
       bei Sdl.Desktop.Platform.Implementation.StudioWindow.set_ActiveView(IView value)
       bei Sdl.TranslationStudio.Common.Helpers.ViewSwitcher.SwitchToEditorView()
       bei Sdl.TranslationStudio.Editor.EditorView.AddDocumentViewPart(IViewPart documentViewPart)
       bei Sdl.TranslationStudio.Editor.Shared.InternalEditorContext.AddDocumentViewPart(IDocumentViewPart documentViewPart)
       bei Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.AfterLoad(IJob job)]]></StackTrace>
        <InnerException>
          <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
          <HelpLink />
          <Source>OpenAI.Provider</Source>
          <HResult>-2147467261</HResult>
          <StackTrace><![CDATA[   bei OpenAI.Provider.ViewModel.TranslationViewModel..ctor(TranslationView view, EditorController editorController, IAIProvider iaProvider, AIProviderSettings settings, CustomerExperienceSettings customerExperienceSettings, SegmentVisitor segmentVisitor, SegmentBuilder segmentBuilder, Comparer comparer, TerminologyProvider terminologyProvider, VisualTagTypesProvider visualTagTypesProvider, PathInfo pathInfo)
       bei OpenAI.Provider.AIAssistantEditorController.Initialize()
       bei Sdl.Desktop.IntegrationApi.AbstractViewPartController.Sdl.Desktop.IntegrationApi.Internal.IViewPartController.Initialize()
       bei Sdl.Desktop.IntegrationApi.Internal.Adaptors.InternalViewPartAdaptor.OnInit(ISettingsGroup settings)
       bei Sdl.Desktop.Platform.AbstractViewPart.Init(IStudioWindow studioWindow, IServiceContext viewSeviceContext, ISettingsGroup settings, IViewWithParts view, IInternalUIFactory internalUIFactory)
       bei Sdl.Desktop.Platform.AbstractDockingView.EnsureViewPartSite(IViewPart viewPart)]]></StackTrace>
        </InnerException>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio18</ProductVersion>
        <EntryAssemblyFileVersion>18.0.2.3255</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1031</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>DESKTOP-A50BNV5\Pegasus Linguistics</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-A50BNV5</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>33270564 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

  • With the help of my husband, we managed to get it working again by deleting some settings files in the AppData folder.

    emoji