“A connection can not be established...” when attempting Host connection with Reflection FTP Client under App-V.

  • 7022865
  • 18-Apr-2018
  • 02-May-2018

Environment

Reflection Desktop (including Pro, for X, for IBM, or for UNIX and OpenVMS) 16.0
Reflection Desktop (including Pro, for X, for IBM, or for UNIX and OpenVMS) 16.1
Microsoft Windows 7
Microsoft Windows 10
Microsoft Application Virtualization 5.1
Microsoft Application Virtualization 5.2

Situation

The Reflection FTP Client will load but fail to connect to IBM Host systems with the error “A connection can not be established. Please try again.” when the Reflection FTP Client is run as an App-V sequenced application.  The failure is seen with both non-secured (Telnet) connections and with secured (TLS) connections.  The problem is seen in a Windows 7 environment running the App-V 5.1 client and sequencer and also in a Windows 10 environment running the App-V 5.2 client and sequencer. 

The Reflection FTP Client loads and connects to Host systems when run outside the Microsoft App-V environment on a physical or virtual Microsoft Windows PC.  If a FTP connection is attempted to a VT or SSH host, this connection will work under App-V with Windows 7, but will fail to connect under Windows 10.

Resolution

This is currently being evaluated by Micro Focus Development and may be resolved in a future release.

Workaround Steps:
Make sure the path to the Reflection FTP files is less than 128 characters.  With a typical install of the Reflection FTP client, the path will be something like "C:\Program Files (x86)\Micro Focus\Reflection", but with Microsoft App-V the path will typically be longer than 128 characters, which will cause this problem.

Cause

The problem is caused by the long (greater than 128 character) path name to the install location of Reflection FTP Client.  Long installation path locations are created in an App-V environment as Microsoft App-V will typically install to a long path name greater than 128 characters, which will cause problems with the Reflection FTP Client.

Additional Information

Steps to Duplicate:
There are two different sets of instructions which can be used to duplicate this issue:
        1. One on a stand-alone Windows 7 or Windows 10 machine
        2. Second with two PCs running Windows 10 and Microsoft App-V 5.2


Set #1:
1. Create a Windows 10 x64 machine with all the latest Microsoft Security and other updates applied.

2. Install Reflection with the installation folder as:
C:\Program Files(x86)\Micro Focus\Reflection\0123456789\0123456789\0123456789\0123456789\0123456789\0123456789\0123456789\0123456789\0123456789\0123456789\0123456789\0123456789\0123456789\0123456789\0123456789\0123456789

3. From the Windows Start Menu, launch the installed Reflection FTP Client application.

4. The Reflection FTP Client will load.

5. Click on the "New..." button.

6. Enter a valid IBM Host name then click Next.

7. Click Next.

8. Click Finish.

9. The error “A connection can not be established. Please try again.” will appear


Set #2:
Windows 10 x64 PC with latest Microsoft App-V Sequencer:
1. Create a Windows 10 x64 machine with all the latest Microsoft Security and other updates applied
   (Use Windows 10 (Build 1709 - Enterprise Edition) for these steps)

2. Install the latest Microsoft App-V version Sequencer software.

3. Launch Microsoft App-V from the "Microsoft Application Virtualization Sequencer"

4. Click on “Create a New Virtual Application Package”.

5. From the Packaging Method dialog click on “Create Package (default)”. Click Next.

6. On the Prepare Computer dialog, if there are issues, resolve them or Click Next.

7. From the Type of Application dialog select “Standard Application (default). Click Next.

8. From the Select Installer dialog browser to the location of the SETUP.EXE for the Reflection Desktop product. Click Next.

9. From the Package Name dialog, provide the “Virtual Application Package Name”
    (can be any name desired). Click Next.

10. The Microsoft App-V v5.2 Sequencer will now launch the SETUP.EXE name provided in step #8.

11. When the Reflection product installation starts, just go through installation wizard
      (using defaults) and make sure to install the FTP Client application.

12. When the Reflection installation is complete, the Installation dialog will appear
     (in the Microsoft App-V Sequencer), check (enable) the “I am finished installing” check box.

13. From the Configure Software dialog, should see the listing of the Reflection icons.
      Highlight Reflection FTP and click Run Selected.

14. The Reflection FTP Client will load.

15. Click on the "New..." button

16. Enter a valid Host name then click Next.

17. Click Next.

18. Click Finish.

19. Answer any prompts to build a successful Host connection.

20. Close the Reflection FTP Client by clicking on the X in the upper right corner.

21. Installation Report dialog will appear.  Click Next.

22. Create Package dialog will appear. Create a Standard package.

23. Distribute the package to the Microsoft App-V Client.
      Can be done via a Microsoft App-V Server or manually installed on the Microsoft App-V Client via the MSI file.


Windows 10 x64 PC with latest Microsoft App-V Client:
1. Create a Windows 10 x64 machine with all the latest Microsoft Security and other updates applied
    (Must use an Enterprise Edition of Windows 10 for these steps)

2. Enable the Microsoft App-V Client software.
    The App-V client comes with Windows 10 Enterprise edition, but it must be enabled to work:
 
        a) Load Windows PowerShell with Run as Administrator

        b) Type "Enable-Appv" in the PowerShell window and press ENTER.

        c) Reboot the PC

        d) Verify the App-V client is enabled by typing "Get-AppvStatus" and press ENTER

3. Install the created App-V package of the Reflection Desktop and FTP client from the Sequencer PC via
    the Microsoft App-V version 5.1 Server or manually install the MSI file.

        a) To manually install the App-V Package, copy the folder created on the Microsoft App-V Sequencer,
             and typically found on the Windows Desktop to the Microsoft App-V Client PC’s Desktop

        b) Open the folder and click on the MSI file to run the installer

        c) Acknowledge any prompts and let the install finish

4. From the Windows Start Menu, launch the installed Reflection FTP Client application

5. The Reflection FTP Client will load.

6. Click on the "New..." button.

7. Enter a valid IBM Host name then click Next.

8. Click Next.

9. Click Finish.

10. The error “A connection can not be established. Please try again.” will appear

Feedback service temporarily unavailable. For content questions or problems, please contact Support.