Login/Register
  • Home
  • Community
  • Knowledge
  • Technical Docs
  • RWS Support Policy
  • Trados Studio Licensing Help
  • Login for Support
Back to Search Results

Error: "Unhandled Exception: System.Exception: The registered delegate for type IUrlsConfig threw an exception. Application is not configured for BestMatchServiceUrlsConfig" when trying to open Projects in Trados Studio 2024 CU1 using API

000022845 |10/17/2024 11:27 PM
Scope/Environment
Trados Studio 2024 CU1
Symptoms/Context
Error: "Unhandled Exception: System.Exception: The registered delegate for type IUrlsConfig threw an exception. Application is not configured for BestMatchServiceUrlsConfig" when trying to open Projects in Trados Studio 2024 CU1 using API.
Unhandled Exception: System.Exception: The registered delegate for type IUrlsConfig threw an exception. Application is not configured for BestMatchServiceUrlsConfig. ---> SimpleInjector.ActivationException: The registered delegate for type IUrlsConfig threw an exception. Application is not configured for BestMatchServiceUrlsConfig. ---> System.ApplicationException: Application is not configured for BestMatchServiceUrlsConfig.
at Sdl.BestMatchServiceStudioIntegration.Common.UrlsConfig.get_Config()
at Sdl.BestMatchServiceStudioIntegration.Common.BestMatchServiceStudioIntegrationCommonModule.<>c.<RegisterCommonClasses>b__2_0()
at lambda_method(Closure )
at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonRegistration.Execute(Func`1 instanceCreator)
at
SimpleInjector.Lifestyles.SingletonLifestyle.SingletonRegistration.GetInterceptedInstanceWithNullCheck()
at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonRegistration.GetInterceptedInstance()
at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonRegistration.BuildExpression()
at SimpleInjector.InstanceProducer.BuildExpressionInternal()
at SimpleInjector.Internals.LazyEx`1.InitializeAndReturn()
at SimpleInjector.InstanceProducer.BuildExpression()
at SimpleInjector.Registration.BuildConstructorParameters(ConstructorInfo constructor)
at SimpleInjector.Registration.BuildNewExpression()
at SimpleInjector.Registration.BuildTransientExpression()

 
Resolution
Use the previous version of Trados Studio 2024 18.0.0.1013 for such scenarios.
Root Cause
A part of the API registration is missing in CU1.
This is a defect LG-46480 which the dev team will address in Trados Studio 2024 CU2.
Reference
https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/f/sdk_qa/54992/opening-project-via-api-causes-error-in-trados-studio-2024-cu1
Send Article Feedback
RWS Machine Translation Translation Software Language Services Content Management
All Contents Copyright © RWS.
COPYRIGHT PRIVACY POLICY COOKIE POLICY TERMS AND CONDITIONS