We are upgrading from Studio/Groupshare 2017 to Studio/Groupshare 2022 and are adding a server based TM to our local project. When setting credentials to the translation memory URI, we get this error (Stacktrace at the end):
String reference not set to an instance of a String.
Parameter name: s
This is the code:
URI is: sdltm.XXXXXX
Same URI (other host) as we have in current GS2017/Trados2017 environment.
Setting this, works without any exceptions, but when pretranslating process has no access to referenced TMs:
_tradosProject.Credentials.AddCredential("http://XXXXXX", false, Account.UserName, Account.Password);
Code is same as described in your documentation Adding the TM to the Project (rws.com)
And as we have used with Trados 2017/GS 2017, where it works without any issues.
===============================================================
Stacktrace
Moved text to code block.
[edited by: Paul at 8:19 AM (GMT 0) on 16 Dec 2022]
