May 242013
 

Scenario:
Users are attempting to use the Rumba AS/400 PC File Transfer utility when they encounter the following error. “Invalid file type. It is either not a transfer file request type, or the file has been corrupted.” This problem exists on both desktops and in the XenApp environments, but whats interesting is end users can open and navigate within the File Transfer utility fine. The issue only appears when they attempt to save the connection file and then re-open either by double clicking on the file or attempting to use the file menu option.

Desktop solution:

I should have seen this one coming. The key is in the first three words of this error “invalid file type”. To quickly resolve for desktops, all you need to do is navigate to the directory where the *.rto, *.tto, or *.tfr files are located and do the following.

  1. Hold down the shift key and right click on the file [.rto/.tto/.tfr] and select the “open with’ option.
  2. In the Open With prompt, click on “Always use the selected program to open this kind of file” and click on the “Browse” button.
  3. Navigate to the Rumba installation directory and click on AS4000FTX.exe.  C:\Program Files (x86)\NetManage\RUMBA\AS400 or C:\Program Files\NetManage\RUMBA\AS400.
  4. Once comple open the file from the PC File Transfer utility or double click on the file to open without the error.

Terminal Server/XenApp Server:

The file correction can be handled in multiple ways. I’m more inclined to add a registry key as part of a launch process, but its also possible to use Group Policy or allow for the user to handle as needed. Ultimately, it all depends on the administrator I guess.

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.RTO]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.RTO\OpenWithList]
"a"="AS400FTX.EXE"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.RTO\OpenWithProgids]
"AS400Transfer"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.RTO\UserChoice]
"Progid"="Applications\\AS400FTX.EXE"

Simply copy the above text and save it as a .reg file, then run as part of the user logon process or via a command to launch the AS400 connection. If you happen to operating within a 2008 R2 64Bit environment, append the above registry key with the following.

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\Applications]
[HKEY_CURRENT_USER\Software\Classes\Applications\AS400FTX.EXE]
[HKEY_CURRENT_USER\Software\Classes\Applications\AS400FTX.EXE\shell]
[HKEY_CURRENT_USER\Software\Classes\Applications\AS400FTX.EXE\shell\open]
[HKEY_CURRENT_USER\Software\Classes\Applications\AS400FTX.EXE\shell\open\command]
@="\"C:\\Program Files (x86)\\NetManage\\RUMBA\\AS400\\AS400FTX.EXE\" \"%1\""

And then give it one last try. Chances are you will be good to go. In ending, there is one important thing to note. If you do happen to make the change for “one” user within 2003 or 2008, please know the change to HKCU will only impact the existing user and will not be replciated to the other users registry hives.

 Leave a Reply

(required)

(required)

Optimized by SEO Ultimate