Resolve ICTS:1 Unable to load DLL 'librfc32.dll' error

Symptom

Sometimes, when you are running a Process file, the communication to SAP fails and one of the following error messages appear.

If the required .dll file is missing or found in an incorrect location (only for Process Runner version 5.20.2 or earlier), then the following message is displayed.

ICTS:1 Unable to load DLL 'librfc32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

If there is a problem with the existing .dll file, then the following message is displayed.

ICTS:6 An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x80070008” error

Cause

These errors occur when the SAP RFC Library file is either missing, found in another location, or there is a problem with the file.

Solution

To resolve this issue, perform one of the following:

  1. If you are using Process Runner version 5.20.3 or later and if the file is found in an incorrect location, select OK as shown in the following screenshot. The required .dll file will be generated at C:\ProgramData\Innowera\Common.

    DllFile
  2. If you are using Process Runner version 5.20.3 or later and find that there is a problem with the file or if the file is not found, download the required librfc32.dll using the librfc32.zip link, and copy the file to C:\Windows\SysWOW64\ folder (64-bit operating system) or C:\Windows\System32\ folder (32-bit operating system).

  3. If you are using Process Runner version 5.20.2 or earlier, perform the following steps:

    1. Download the required librfc32.dll using the librfc32.zip link.
    2. At the command prompt, navigate to drive C.
    3. Type dir librfc32.dll/s/a and press Enter. The location of the required .dll file is displayed.
    4. If you find that there is a problem with the file, delete the file, and copy the file to C:\Windows\SysWOW64\ folder (64-bit operating system) or C:\Windows\System32\ folder (32-bit operating system).
    5. If the librfc32.dll file is not found or is in an incorrect location, copy the file to C:\Windows\SysWOW64\ folder (64-bit operating system) or C:\Windows\System32\ folder (32-bit operating system).
    6. After placing the librfc32.dll file in the appropriate location, reopen the Process Runner and run the Process file.

    Note: SAP does not support librfc32.dll from SAP GUI 7.50 onwards.

    For further assistance, please create a support case on Salesforce.