Cannot configure Terminal session configuration in Studio, because it fails with "Error initiating terminal connection".
When using Terminal.Activities package v.2.6.0 with IBM Personal Communication as provider, the configuration of the terminal session can fail.
The error message reads "Error initiating terminal connection."
Gathering Driver Diagnostics Log From The Robot, this error comes up repeatedly:
15:37:27.804 [13420] TerminalHostAssemblyResolver: got request to resolve System.ValueTuple, 4.0.3.0
15:37:27.809 [13420] UiPath.Terminal.Host.exe Information: 0 :
15:37:27.809 [13420] TerminalHostAssemblyResolver: got request to resolve System.ValueTuple, 4.0.3.0
15:37:27.813 [13420] UiPath.Terminal.Host.exe Information: 0 :
15:37:27.813 [13420] TerminalHostAssemblyResolver: got request to resolve System.ValueTuple, 4.0.3.0
15:37:27.815 [13420] UiPath.Terminal.Host.exe Information: 0 :
Resolution: This is a known issue with the v 2.6.0 of the Terminal.Activities package and in order to fix it, proceed as follows:
- Navigate to c:\users\{youruser}\.nuget\packages\uipath.terminal.activities\2.6.0\net461
- Identify the following 2 config files: Uipath.Terminal.Host.x64.exe.config and Uipath.Terminal.Host.exe.config
- Open each of them and delete the following Assembly Binding code block.
Note: Those Terminal.Host.exe.config files are only created in the package folder after having created / or attempted to create a Terminal Session.