When creating a project that includes Trados GroupShare Translation Memories, at the Batch Task-> Populate Project Translation Memories step the following error occurs: Unexpected exception when initializing task 'Populate Project Translation Memories': Could not load file or assembly 'Microsoft.AspNetCore.JsonPatch, Version=5.0.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040). A similar error occurs after running Re-index Translation Memory from the Settings page of a Translation Memory at Performance and tuning or when entering new items into a Variable list. |
Workaround 1: Install the latest version of Trados Studio 2022 available or at least Trados Studio 2021 SR2 from here: https://gateway.sdl.com/apex/communityknowledge?articleName=000012378 by double-clicking on the msi file. Workaround 2: 1. Close Trados Studio 2. go to C:\Program Files (x86)\SDL\SDL Trados Studio\Studio16 and replace SDLTradosStudio.exe.config with the one attached below or continue with the following steps: 3. Search for SDLTradosStudio.exe.config and open it in a text editor (e.g. Notepad++) 4. Go to <assemblyIdentity name="Microsoft.AspNetCore.JsonPatch" publicKeyToken="adb9793829ddae60" culture="neutral" />5. Change <bindingRedirect oldVersion="0.0.0.0-5.0.5.0" newVersion="5.0.5.0" />to <bindingRedirect oldVersion="0.0.0.0-5.0.5.0" newVersion="5.0.7.0" /> |
This has been logged as CRQ-25045 and it has been fixed with Studio 2021 SR2 and higher versions. |