Answer
To remedy the problem, you must modify two branches in the registry of the Terminal Server. To do this, you must have administrative rights.
HKEY_CLASSES_ROOT\TypeLib and
HKEY_CLASSES_ROOT\Interface
Both of the above must be given the “Full Control” right for all users, and then the error message should not appear anymore.