Salesforce

Trados Studio 2021 or 2022 - Error when opening WSXZ packages 'Method not found: 'Sdl.ProjectApi.IApplication Sdl.ProjectApi.ApplicationFactory.CreateApplication()'

« Go Back

Information

 
Article TypeSolution Article
Scope/EnvironmentTrados Studio 2021 or 2022
WorldServer
Symptoms/Context
After updating my Trados Studio 2021 or 2022 to a new version (for instance, from SR1 to SR2), I am no longer able to open WorldServer packages. When I click on Open WorldServer Package and select the WSXZ package to be opened, I receive this error:

Method not found: 'Sdl.ProjectApi.IApplication Sdl.ProjectApi.ApplicationFactory.CreateApplication()

User-added image

The error stack trace is:
<?xml version="1.0"?>
-<SDLErrorDetails time="18.02.2021 11:13:46">

<ErrorMessage>Method not found: 'Sdl.ProjectApi.IApplication Sdl.ProjectApi.ApplicationFactory.CreateApplication()'.</ErrorMessage>
-<Exception>
<Type>System.MissingMethodException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>

<HelpLink/>

<Source>Sdl.TranslationStudio.Packaging.WorldServer</Source>

<HResult>-2146233069</HResult>

-<StackTrace>

-<![CDATA[   at Sdl.TranslationStudio.Packaging.Convertors.WorldServer.WsPackageConvertor.GetProjectsProvider()
   at Sdl.TranslationStudio.Packaging.WorldServer.Ws2RivelinConverter.Convert(Boolean runAnalysisTask)
   at Sdl.TranslationStudio.Packaging.Convertors.WorldServer.WsPackageConvertor.ConvertPackage(String wsPackageFilePath, String targetPackagePath, 
Boolean runAnalysisTask, ImportSettings tmImportSettings)
   at Sdl.TranslationStudio.Packaging.PackageImport.ConvertProjectPackageJobRequest.Execute(IJobExecutionContext context)
   at Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__47_0()
   at Sdl.Desktop.Logger.Log.Resources(Object message, Action action)
   at Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]>
</StackTrace>

</Exception>


Why is this happening and how can I resolve the issue?
Resolution
Follow these steps:

1- Go to this page of the RWS App Store to find and download the WorldServer Compatibility Pack for Trados Studio. If you are on Trados Studio version 2021, update to Version SR 2 CU10 (16.2.10.9305)
2- Click on the Download button
3- You will be prompted to select your Trados Studio version. *Note: You can check your Studio version in the Help tab > About Trados Studio. Example:

Here is a small list of the latest Studio versions and the correspondent WorldServer components:

Trados Studio 2024: download WorldServer Component version 18.0.1995
Trados Studio 2022 SR2 (version 17.2.9.18668): download WorldServer Component Trados Studio 2022 SR1  17.2.8.1963
Trados Studio 2022 SR1 CU 7+ (version 17.1.7.1950 or 
17.1.8.1728): download WorldServer Component Trados Studio 2022 SR1 (CU7 +) 17.1.7.1950
Trados Studio 2022 SR1 CU6 (version 17.1.6.1940): download WorldServer Component Trados Studio 2022 SR1  (CU6) 17.1.6.1940
Trados Studio 2021 SR2 (version 16.2.10.9305): download WorldServer Component 16.10.1894 - (WorldServerComponents_Studio2021SR2CU10.zip)

In the screenshot below, the WorldServer component for Trados Studio 2022 SR2 is selected. Make sure to select the correct one corresponding to your Studio version.

User-added image

4- Once you have selected the correct version, click on Continue. Now the download will start. You will download the component in an archive called WorldServerComponents.zip

5- Close Trados Studio

6- Unzip the archive file. You will find the installation file WorldServerComponents.msi. Double-click on it and run through the installation, which will take a few seconds.

7- Once the installation is completed, reopen Trados Studio. You will now be able to open WorldServer packages without issues.
Root Cause
If you update your Trados Studio version, you also need to download the latest WorldServer Compatibility plugin from the Appstore to be able to work with WorldServer packages.

How to open a Worldserver package (*.WSXZ) and use a Worldserver Translation Memory starting from Trados Studio 2021 and 2022
Reference
Attachment 1 
Attachment 2 
Attachment 3 
Attachment 4 
Attachment 5 

Powered by