Terminal Session : There was an error connecting to terminal. Error code: Error

@ronak_94 I could see only service host in task manager on server.


1 Like

Hi @srinucslt even i am facing the same issue. uipath.terminal.host is not there in task manager.
Did you find any solutions?

hi, i have create activity that maybe can help you , Uipath Activity Get Specific String - YouTube

Hi guys, finally I found the solution. I just copied the mainframe profile and pasted it in project folder.It started working. Earlier it was in desktop. This might be due to folder rights.


Hello All,
I am facing same issue to connect IBM i access client solution terminal using IBM EHLLAPI.
Also I try UiPath interanal implementation, we connect but there error in screen size.
There is in solution any solution?

Hi @sandipshetake,

Please configure as below and make sure your application is open(else you use double click activity to open the application).

EHLL dllfull path:C:\Program Files (x86)\IBM\Client Access\Emulator\pcshll32.dll

1 Like

Hi, @RajeshT
Thanks. Its working
EHLL dllfull path:C:\Program Files (x86)\IBM\Client Access\Emulator\pcshll32.dl


Strangely, after doing all the mumbo jumbos of dll and different ways of communicating with As400. The one which resolved was simply copying the file in the workflow project location of UiPath.

Worked great… seems issue with user access specially if you are working on server - windows.

Hi Guys, I am new in UIPATH and facing the same issue, could you please guide me how and what did you copy the profile/ file ?

Are you killing the procces via cmd after first iteration? (This doesnt allow to close session normally and keeps old session data. Due to this you cant start new session, unless you reboot)
To solve this instead of killing with cmd use soft close Close Application activity.
This issue was driving me nuts while testing…

Hello Shyam, i read you had solved the issue. i encountered the issue as they described. and i have not solved it. i did:
Copy C:\Program Files (x86)\IBM\Client Access\Emulator\pcshll32.dll into the terminal session setup. and already keep JDE sign on before the session triggered.
but the error comes again. “Terminal Session: There was an error connecting to terminal. Error code: Error”
May i ask you which profile you copied to project folder? it might be helpful to my issue solving. thanks for sharing in advance.