Can't open Trados 2022 "Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index" error.

I have tried every solution suggested here but to no avail, please help!

This is the error log.

<SDLErrorDetails time="20/03/2024 05:20:29 μμ">
  <ErrorMessage>Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index</ErrorMessage>
  <Exception>
    <Type>SimpleInjector.ActivationException, SimpleInjector, Version=5.0.0.0, Culture=neutral, PublicKeyToken=984cb50dea722e99</Type>
    <HelpLink />
    <Source>SimpleInjector</Source>
    <HResult>-2146233088</HResult>
    <StackTrace><![CDATA[   at SimpleInjector.InstanceProducer.GetInstance()
   at SimpleInjector.Internals.ContainerControlledCollection`1.GetInstance(InstanceProducer producer)
   at SimpleInjector.Internals.ContainerControlledCollection`1.CopyTo(TService[] array, Int32 arrayIndex)
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Sdl.Platform.UI.Wizard.Framework.WizardBuilder.BuildWizardPages[TSharedData](TSharedData sharedData, IWizardWindowViewModel wizardWindowVm)
   at Sdl.Platform.UI.Wizard.Framework.WizardBuilder.Build[TSharedData](TSharedData sharedData)
   at Sdl.Platform.UI.Wizard.Framework.WizardBuilder.Build[TSharedData,TBackendService](TSharedData sharedData)
   at Sdl.TranslationStudio.Common.SetupWizard.SetupWizardLauncher.Execute()
   at Sdl.Desktop.Platform.Implementation.Studio.ExecuteStartupExtensions(ISplashScreen splashScreen, IEnumerable`1 startUpActions)
   at Sdl.Desktop.Platform.Implementation.Studio.Run(ISplashScreen splashScreen, IPluginLoaderService pluginLoaderService, ICommandLineParsingService commandLineParsingService, IUserSettingsService userSettingsService, IEnumerable`1 startUpActions, ILicensingService licensingService)
   at Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
    <InnerException>
      <Type>System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
      <ParamName>index</ParamName>
      <HelpLink />
      <Source>mscorlib</Source>
      <HResult>-2146233086</HResult>
      <StackTrace><![CDATA[   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at Sdl.TranslationStudio.Common.SetupWizard.UserProfileWizardPageViewModel..ctor(IUserSettingsService userSettingsService, IMessageService messageService, IOpenFileDialog openFileDialog, IUserProfileFactory userProfileFactory)
   at lambda_method(Closure )
   at SimpleInjector.InstanceProducer.BuildAndReplaceInstanceCreatorAndCreateFirstInstance()
   at SimpleInjector.InstanceProducer.GetInstance()]]></StackTrace>
    </InnerException>
  </Exception>
  <Environment>
    <ProductName>Trados Studio</ProductName>
    <ProductVersion>Studio17</ProductVersion>
    <EntryAssemblyFileVersion>17.2.10.19084</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>***********</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>******</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>8320060 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

I tried to find the simple injector but I can't find it anywhere.

emoji
Parents
  • Hello,

    I'm sorry to hear that you're experiencing issues with Trados Studio. The error message you're seeing is related to an issue with the SimpleInjector, which is a part of the software's internal workings.

    Here's a step-by-step guide to help you resolve this issue:

    Step 1: Close Trados Studio if it's currently open.

    Step 2: Navigate to the folder where Trados Studio is installed. This is typically located in the Program Files folder on your computer's main drive.

    Step 3: Look for a file named 'UserSettings.xml'. This file contains your personal settings for Trados Studio.

    Step 4: Rename this file to something like 'UserSettings_old.xml'. This will allow Trados Studio to create a new settings file the next time it's launched.

    Step 5: Launch Trados Studio. The software should now create a new 'UserSettings.xml' file with default settings.

    Please note that by renaming the 'UserSettings.xml' file, you will lose any custom settings you've made in Trados Studio. However, if this resolves the issue, you can then gradually reapply your custom settings to identify if a specific setting was causing the problem.

    If the issue persists, it might be a more complex issue that requires further investigation. In such a case, I would recommend reinstalling Trados Studio to ensure all components are correctly installed.

    I hope this helps! If you have any other questions or need further assistance, feel free to ask.

    Best regards,

    RWS Community AI

    emoji
Reply Children
No Data