System.Exception: There was an error connecting to terminal. Error code: NotConnected

Hi, I’m trying to connect through terminal activity to attachment Reflection - IBM 3270, but it generates the following error:

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Exception: There was an error connecting to terminal. Error code: NotConnected
at UiPath.Terminal.Activities.TerminalSession.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.Terminal.Activities.AsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

can someone help me please

@elemon20

Have you provided all connection parameters properly or not ?

Hi, thanks for answering.
Yes, I indicated adress, port and type:
image

1 Like

@elemon20

Do one thing. Open your Mainframe application and click on Save session as and save the session. The file extension will be .edp. And check Use an existing profile option in the above and provide this full session path instead of manually passing all connection parameters. It should work.

it doesn’t give me the option of that extension, the extension it gives me is .rsf

@elemon20

This extension also. Try same steps as mentioned in previous post.

1 Like

thanks @lakshman , it didn’t work with the Attachmate Reflection, but if it worked with Reflection For IBM

1 Like

Now I have another question, can I send the alt + m or alt + f3 key or how can I do to select an item in the menu?

for example I need to run a macro.

any solution?

@elemon20

Do you mean want to select item in MainFrames ?

I nedd select Macro

@elemon20

Use Attach Window activity and inside that use Click activity and indicate Macro to click on Macro.

Thank you, I thought I could do it through Send Control Key

I appreciate the answer :slight_smile::+1:

1 Like