Error message when creating return package in SDL Trados Studio: Could not load file or assembly SDL.TranslationStudio.Plugins.WorldServerTranslationProvider.Api

Symptoms/Context:

You are trying to create a return package, but the following error message is displayed:

Could not load file or assembly SDL.TranslationStudio.Plugins.WorldServerTranslationProvider.Api and Object reference not set to an instance of an object.

 

 

 

Root Cause:

The SDL.TranslationStudio.Plugins.WorldServerTranslationProvider.Api.dll file is missing from the SDL Trados Studio installation folder. This is by default located here:

for 32bit OS: C:\Program Files\SDL\SDL Trados Studio\Studio4
for 64bit OS: C:\Program Files (x86)\SDL\SDL Trados Studio\Studio4

This might be caused by the installation/update process for Studio not being able to replace/update/place the *.dll due to various reasons like security software or lack of permissions.
 
Resolution:

Workaround: Reinstall SDL WorldServer Components

  1. Make sure all  SDL applications are closed.
  2. Go to C:\ProgramData\Package Cache\SDL\SDLTradosStudio2015[_SR2]\modules.
  3. Run the WorldServerComponents.msi installation file.
Open SDL Trados Studio 2017 or 2019 and the creation of the return package should work.