'Exception has been thrown by the target of an invocation' on startup

I am using Trados Studio 2021.

When trying to run the programme, I received the error 'service 'sdl.translationstudio.api.projectmanagement.iprojectmanagementservice' could not be started' and the startup process terminated. There was no incident that could have caused this as far as I know, but after renaming the folders 'Trados Studio' in AppData/Local and AppData/Roaming and performing a repair, the error stopped appearing. 

Now I get a brand-new error on startup, namely 'Exception has been thrown by the target of an invocation', which also terminated the startup process. I have tried renaming the AppData folders again, repairing the software again, restarting my PC, and fully uninstalling and reinstalling the programme. None of these have worked at all.

There are various other threads about similar issues, but none of them have received any helpful responses. 

Any ideas on how to solve this or what might be causing it? 

Thanks in advance!

Error details below:

<SDLErrorDetails time="09/04/2025 14:56:49">
<ErrorMessage>Exception has been thrown by the target of an invocation.</ErrorMessage>
<Exception>
<Type>System.Reflection.TargetInvocationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<HelpLink />
<Source>mscorlib</Source>
<HResult>-2146232828</HResult>
<StackTrace><![CDATA[ at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance[T]()
at Sdl.Desktop.Platform.Wizard.WizardPageReference`2.get_WizardPage()
at Sdl.TranslationStudio.Common.SetupWizard.SetupWizardLauncher.Execute()
at Sdl.Desktop.Platform.Implementation.Studio.ExecuteStartupExtensions(ISplashScreen splashScreen)
at Sdl.Desktop.Platform.Implementation.Studio.Run(ISplashScreen splashScreen, IEventAggregator eventAggregator, IPluginLoaderService pluginLoaderService, ICommandLineParsingService commandLineParsingService)
at Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
<InnerException>
<Type>Sdl.Common.Licensing.Provider.SafeNetRMS.SafeNetRMSLicensingProviderException, Sdl.Common.Licensing.Provider.SafeNetRMS, Version=16.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
<ErrorCode>1</ErrorCode>
<ProviderErrorCode>210003</ProviderErrorCode>
<ErrorMessage>Could not connect to license server.</ErrorMessage>
<HelpLink />
<Source>Sdl.Common.Licensing.Provider.SafeNetRMS</Source>
<HResult>-2146233088</HResult>
<StackTrace><![CDATA[ at Sdl.Common.Licensing.Provider.SafeNetRMS.UnifiedAPIProvider.GetFeatures()
at Sdl.Common.Licensing.Provider.SafeNetRMS.LicensingProvider.GetAvailalbeFeatures()
at Sdl.Common.Licensing.Provider.SafeNetRMS.LicensingProvider.GetProductLicense()
at Sdl.Common.Licensing.Provider.Core.ApplicationLicenseManager.GetProductLicense()
at Sdl.Common.Licensing.Provider.Core.ApplicationLicenseManager.GetCurrentProductLicense()
at Sdl.ProjectApi.Implementation.Licensing.Perpetual.PerpetualLicense.get_Authorised()
at Sdl.TranslationStudio.Common.Licencing.LicensingService.get_HasActiveLicense()
at Sdl.TranslationStudio.Common.Licencing.LicensingService.get_ActiveLicense()
at Sdl.TranslationStudio.Common.Licencing.LicensingService.IsFeatureActive(String feature)
at Sdl.TranslationStudio.Common.LicenseUtils.IsFeatureActive(String feature)
at Sdl.TranslationStudio.Common.SetupWizard.SamplesWizardPage..ctor()]]></StackTrace>
<InnerException>
<Type>com.sntl.licensing.LicensingException, SentinelLicensing, Version=10.0.0.121, Culture=neutral, PublicKeyToken=dc3af25398b040a3</Type>
<HelpLink />
<Source>SentinelLicensing</Source>
<HResult>-2146233088</HResult>
<StackTrace><![CDATA[ at com.sntl.licensing.ApplicationContext.getInfo(String scope, String query)
at Sdl.Common.Licensing.Provider.SafeNetRMS.UnifiedAPIProvider.GetFeatures()]]></StackTrace>
</InnerException>
</InnerException>
</Exception>
<Environment>
<ProductName>Trados Studio</ProductName>
<ProductVersion>Studio16</ProductVersion>
<EntryAssemblyFileVersion>16.2.10.9305</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 11 Professionnel</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>1033</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>AzureAD\[username]</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName>ISO-WD02</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>8014960 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>

emoji
Parents
  • "Probability score": 0.9

    "Question improvement suggestion": Please provide any recent changes to your system or software, if any, as this could help in diagnosing the issue.

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

    Hello,

    Based on the error details you've provided, it seems like the issue might be related to the licensing server. The error message "Could not connect to license server" suggests that Trados Studio is having trouble connecting to the licensing server, which could be causing the 'Exception has been thrown by the target of an invocation' error.

    Here are some steps you can try:

    Step 1: Close all Trados Studio applications.

    Step 2: Stop the 'SDL License Server' or 'RWS License Server' via the services.msc console. To do this, press the Windows key + R, type 'services.msc' and press Enter. In the Services window, find 'SDL License Server' or 'RWS License Server', right-click it and select 'Stop'.

    Step 3: Rename the 'Licenses' folder in C:\ProgramData\SDL\SDL Trados Studio\16\ to 'Licenses_old'. This will force Trados Studio to create a new Licenses folder the next time it starts up.

    Step 4: Restart the license server service by going back to the Services window, right-clicking 'SDL License Server' or 'RWS License Server', and selecting 'Start'.

    Step 5: Try launching Trados Studio again.

    If the issue persists, consider reinstalling Trados Studio 2021, ensuring you back up your settings, projects, and translation memories first.

    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
  • Neither the License Server services nor the Licenses folder in ProgramData exist.

    emoji
  • "Probability score": 0.7

    "Question improvement suggestion": Please provide more details about your system configuration, such as whether you're using a standalone or network license, and whether you have any firewall or antivirus software that could be blocking Trados Studio's access to the licensing server.

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

    Hello,

    If the License Server services and the Licenses folder in ProgramData do not exist, it's possible that your Trados Studio installation might be corrupted or incomplete.

    Here are some steps you can try:

    Step 1: Uninstall Trados Studio 2021 from your system.

    Step 2: After uninstalling, navigate to the following directories and delete any remaining Trados Studio folders:

    - C:\Program Files (x86)\SDL\SDL Trados Studio

    - C:\Users\[Your Username]\AppData\Local\SDL\SDL Trados Studio

    - C:\Users\[Your Username]\AppData\Roaming\SDL\SDL Trados Studio

    Step 3: Restart your computer.

    Step 4: Reinstall Trados Studio 2021. Make sure to run the installer as an administrator (right-click the installer file and select 'Run as administrator').

    Step 5: After reinstalling, try launching Trados Studio again.

    If the issue persists, it might be due to a network issue or a problem with your system's configuration. In this case, you might need to consult with your IT department or a technical expert.

    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
  • As stated in the original answer, I have already attempted all this and it has not worked. I will wait for a human to answer.

    There have been no changes in software or hardware. This morning it worked fine, then the error started appearing out of nowhere. 

    emoji
Reply Children
No Data