Docs/Getting started/Moving from Ericom AccessNow to DartRelay
DartRelay 2.5 documentation
Getting started

Moving from Ericom AccessNow to DartRelay

Simple steps to move an Ericom AccessNow environment to DartRelay. The two run side by side against the same session hosts, so you can move users across group by group and switch Ericom off last, with no changes to your infrastructure or your applications.

The short version

Install DartRelay, add the session hosts Ericom already uses, publish the same applications to the same groups, and turn on Ericom-compatible file transfer for programs that call anfiletransfer.exe. Pilot, move everyone across, then remove Ericom. Until that last step, going back is a matter of using the old link.

How the two run side by side

DartRelay does not replace anything on your session hosts. It opens its own Remote Desktop sessions to them, exactly as Ericom's Access Server does, so both products can use the same hosts at the same time:

Reaching DartRelay while Ericom runs

DartRelay runs on its own port, 8080 by default or any other port you choose, so it never takes over Ericom's address. During the move, give people one of two ways in:

OptionHow it looksGood for
Same address, DartRelay's porthttps://apps.example.com:8080 while Ericom stays on https://apps.example.comThe quickest start. Only the port needs opening in your firewall.
A separate address through your reverse proxyhttps://portal.example.com, published by your reverse proxy or load balancer to DartRelay's portA clean public address on port 443, and the address you keep after Ericom is gone. See Load balancer and ADC integration.

Either way, Ericom and DartRelay run in parallel against the same hosts. When everyone has moved, point your main address at DartRelay and retire Ericom.

Before you begin

Step by step

  1. Install DartRelay. Run the installer and keep the default port, 8080, or choose any other free port. Activate with your product key. See Installing DartRelay.
  2. Connect your directory. Add the same Active Directory domain (or domains) Ericom uses, so people sign in with the accounts they have today. See Active Directory and multiple domains.
  3. Add the session hosts. In Catalog → Hosts, add each host Ericom uses, with its management account, and press Connect. DartRelay reports the host's state and changes nothing on it.
  4. Publish the same applications. In Catalog → Remote Apps, create app groups for the same programs, browsing the host for them or typing the path and arguments you use in Ericom. Give each group to the same AD groups. See Publishing applications and Giving people access to resources.
  5. Turn on files. On each app group's Files card, tick Open and save in the browser, so the program's own Open and Save As dialogs go to the user's computer. For programs that call anfiletransfer.exe, also tick Ericom-compatible file transfer (see below). Save, and DartRelay installs its Files Agent on the group's hosts.
  6. Turn on printing on each app group's Printing card. No printer drivers are needed on the hosts. See Printing.
  7. Brand the portal if you want it to look like your Ericom start page: pick a theme and add your logo and colours. See Themes.
  8. Pilot. Give the DartRelay address to a few users from each department. Everyone else carries on with Ericom. Check that each program opens, saves, transfers files and prints as expected.
  9. Move everyone across. Change your links, bookmarks or the DNS name users type so they reach DartRelay. Move group by group if you prefer: both portals keep working throughout.
  10. Retire Ericom. When nobody uses Ericom any more, uninstall it from the session hosts and the Access Server. Then, for each host, open its page in DartRelay and press Install now on the Files Agent card, so DartRelay's own anfiletransfer.exe takes the place of Ericom's (see After Ericom is removed).

Programs that call anfiletransfer.exe

Programs written for Ericom AccessNow often move files by running Ericom's anfiletransfer.exe. With Ericom-compatible file transfer on, DartRelay handles those same commands, with no change to the program:

The program runsIn DartRelay
anfiletransfer.exe "C:\Reports\report.pdf"The file downloads in the user's browser. Several calls close together are treated as one request: one ZIP, separate files, or a question, as set by When a program sends several files at once.
anfiletransfer.exe -t 0 ".pdf" C:\Inbox 120The browser's file picker opens for one file of the listed types ("." means any type). The file is written into C:\Inbox. The last number is how many seconds the user has.
anfiletransfer.exe -t 1 ".pdf,.docx" C:\Inbox 120The same, for several files.

After an upload, the list of files received is written, one full path per line, to %LOCALAPPDATA%\Temp\<user>_<session>.log, where programs written for Ericom expect it. The program gets the exit codes it knows: 0 done, 16 cancelled, 17 timed out.

Switch it on

  1. Open the app group in Catalog → Remote Apps.
  2. On the Files card, tick Open and save in the browser, then Ericom-compatible file transfer (programs that call ANFileTransfer.exe).
  3. Save. The setting uses the DartRelay Files Agent on the group's hosts, which DartRelay installs and keeps up to date by itself.

While Ericom is still installed

Nothing on the host is replaced. When a program in a DartRelay session runs Ericom's own anfiletransfer.exe, DartRelay's Files Agent takes the call and does the transfer through the user's browser. In Ericom's sessions on the same host, Ericom's program works exactly as before.

After Ericom is removed

Once Ericom is uninstalled, its anfiletransfer.exe is gone. Run the Files Agent setup again on each host (Install now on the host's Files Agent card): finding no Ericom copy, it puts DartRelay's compatible anfiletransfer.exe on the system path under the same name, so programs keep finding it. DartRelay only adds its own copy when no Ericom copy is on the host, so the two never clash.

Different log file name or folder?

If a program reads its upload list from somewhere else, set it on the host under HKLM\SOFTWARE\DartRelay\FilesAgent: EricomLogName (default {user}_{session}.log; {pid} also works), EricomLogFolder (default %LOCALAPPDATA%\Temp), or EricomLog = 0 to write no list. No restart or rebuild is needed.

Ericom terms and their DartRelay equivalents

In Ericom AccessNowIn DartRelay
Access ServerThe DartRelay server: portal, console and session relay in one service, on Windows or Linux. See How DartRelay works.
Start page or launch linksThe portal, with themes, a page builder and per-address branding. Direct links and automatic launch open one application straight away.
Published applicationsApp groups in Catalog → Remote Apps, and desktops in Catalog → Desktops.
anfiletransfer.exeEricom-compatible file transfer, described above.
File upload and downloadOpen and save in the browser, and the virtual drive and file browser.
Browser printingPrinting, one switch per resource, with the optional Print Helper for printing with no dialog.
Licences managed centrallyOne installation holds the licence and shares it with the others. A Relay Seat is one device with a live session. See Licensing and Relay Seats.

What users notice

If something does not work

A program's anfiletransfer.exe call does nothing

Check that Ericom-compatible file transfer and Open and save in the browser are both ticked for that app group, and that the host's Files Agent card shows the agent installed and up to date. The agent's log is %LOCALAPPDATA%\DartRelay\FileAgent\agent.log in the user's profile on the host.

After removing Ericom, programs report anfiletransfer.exe is missing

Run the Files Agent setup again on that host (Install now on its Files Agent card), as described in After Ericom is removed.

The installer says the port is in use

Another program on the machine already uses it. Choose any other free port: DartRelay runs on 8080 by default, and any port works.

Still stuck? Email [email protected] with what you were doing, what you expected and what you saw. A screenshot helps.