web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Terminal Session setup...
Power Automate
Unanswered

Terminal Session setup for Micro Focus in Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by 223

Can someone who has successfully worked with micro focus reflection in power automate help with this issue here? 

First, I'm able to connect to a mainframe and save a profile without issues. 

Then in Power automate desktop, I create an action with these settings and still get a connection error: :

 

Provider: Micro Focus Reflection

Intallation path: C:\Program Files (x86)\Micro Focus\Reflection\r1win

Configuration: existing profile

Profile: c:\var\testbox.r1w

I have tried the path with r1win, r1win.exe, and by removing r1win intirely to no avail.  Here's the error I get:

 

Error: Error communicating with the emulator

The system cannot find the file specified. (Exception from HRESULT: 0x80070002): Robin.Core.ActionException: Error communicating with the emulator ---> System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at Robin.Modules.TerminalEmulation.Actions.ReflectionSessionFacadeToVariant..ctor(String path, String profile, Boolean attach)
at Robin.Modules.TerminalEmulation.Actions.TerminalEmulationActions.OpenTerminalSession(Variant installationPath, Variant dllPath, Variant sessionName, Variant profile, Variant host, Variant port, Variant& session, Int32 provider, Int32 configuration, Int32 hostType, Boolean attach)
--- End of inner exception stack trace ---
at Robin.Modules.TerminalEmulation.Actions.OpenTerminalSession.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement) 

I have the same question (0)
  • ZS440 Profile Picture
    262 on at

    hi

    I'm using IBM Personal Communications and it's working fine.
    Would the Winautomation documentation help you?

    https://docs.winautomation.com/en/terminal-emulation---guide.html#terminal-emulation---guide

     

  • maxpower45255 Profile Picture
    223 on at

    @ZS440 Thanks for the reply. I think I'm getting closer. But I'm now getting an error with the attachmate assembly.

    I reran the install of Micro Focus reflection Vs16 and selected the "Application Programmable Interface" feature. 

    Settings of the "Open Terminal Session"

    Provider: Micro Focus reflection

    installation path: C:\Program Files (x86)\Micro Focus\Reflection\

    Configuration: Existing profile

    Profile: c:\...\documents\Micro Focus\Reflection\testbox.r1w  (note: This profile must be in the Micro Focus created directory or it throws an error that the profile file location is in an "untrusted directory". 

     

    Stack Trace/error: 
    Robin.Core.ActionException: Error with profile Unable to find assembly 'Attachmate, Version=2.7.703.0, Culture=neutral, PublicKeyToken=13bff1b6907eadcf'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.Serialization.SerializationException: Unable to find assembly 'Attachmate, Version=2.7.703.0, Culture=neutral, PublicKeyToken=13bff1b6907eadcf'.

    I googled this assembly issue but couldn't find anything. 

    thanks!

     

  • maxpower45255 Profile Picture
    223 on at

    @ZS440, I'm trying to connect to an HP3000. Everytime I get over a bump, I run into another.

    I registered the Attachmate.dll in the GAC (global assembly cache) and it seems to have gotten over the missing dll error. However, I now get " Error with profile Could not find reader(s) for extension .r1w"

    any help would be appreciated. 

     

    Exception has been thrown by the target of an invocation.: Robin.Core.ActionException: Error with profile Could not find reader(s) for extension .r1w ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Attachmate.Patterns.FactoryException: Could not find reader(s) for extension .r1w

    Server stack trace:
    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    at Attachmate.Services.API.Framework.ObjectFactory.CreateControl(String sessionFilePath)
    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

     

  • ZS440 Profile Picture
    262 on at

    @maxpower45255 

    Hi

    Wouldn't the Reflection documentation be of help to you?

    You may also need the NS/VT API options.
    https://www.attachmate.com/documentation/reflection-desktop-v16/rdesktop-guide/data/rhp-installing.htm.

    I don't have an HP3000 so I can't test it.

    I'm sorry I can't help you.

    I hope it will be resolved.

  • maxpower45255 Profile Picture
    223 on at

    I do have the HP3000 terminal installed and I can connect to a reflection session manually. The issue is when I try connecting through Power automate desktop. I keep getting the Error with profile Could not find reader(s) for extension .r1w message. 

    In my opinion, this may be a microfocus software install issue. it appears that maybe some libraries didn't register properly? 

  • vamsi_varanasi Profile Picture
    152 on at

    Hi @ZS440 ,

     

    Thanks for your help.

    I am also using IBM Personal Comm but unable to set the connection using the 

    " Open terminal session " command with in PAD designer ? 

     

    I have given the .exe file path and the session name ( IP address) but still unable to connect. 

     

    any suggestion. 

     

    Thanks, 

  • maxpower45255 Profile Picture
    223 on at

    Hi @ZS440 ,

    I'm not having issues connecting to an HP3000 via Power Automate using the "IBM 3230" or "IBM 5250" host type when selecting "Micro Focus Reflection" as the provider. My issue is this host type isn't compatible with my target system which requires the "VT-MGR" terminal type. 

     

    Here are the settings that work for me when connecting to HP3000. They should work for you as well.

     

    IBM reflection - settings.JPG

     

     

    Good luck!

  • vamsi_varanasi Profile Picture
    152 on at

    @ZS440 ,

     

    Thanks, i hope installation path for above screen would be IBM emulator install path ( .exe file ) here and any idea on configuration: option ? 

  • maxpower45255 Profile Picture
    223 on at

    if you're using "Micro Focus Reflection", then it should be the same path. If you've changed your installation path during the setup, then just point to the directory where the exe is located. 

  • vamsi_varanasi Profile Picture
    152 on at

    Hi @maxpower45255 ,

    we are not using "Micro Focus Reflection" as my emulator was IBM Emulator , I am using my installation HLLAPI dll. 

     

    vamsi_varanasi_0-1613771785166.png

     

    facing an error while connecting. 

     

    vamsi_varanasi_1-1613771867893.png

     

     

    any clue on this  ? 

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard