Knowledge Base

Article ID: 651 | Category: Administration | Type: Hot Fix | Last Modified: 5/23/2013

Licensing Service: The RPC server is unavailable

Description

An error message appears when a workstation is opened. 

The error message in ABBYY FlexiCapture 10:

"Error communicating with ABBYY Product Licensing Service ABBYY on <server address>: The RPC server is unavailable."


The error message in ABBYY FlexiCapture 9.0:

"Connection to network licensing server <server addess> lost."

If you're using ABBYY FlexiCapture Standalone, this error may occur on the Administration Station or the Operator Station. If you're using ABBYY FlexiCapture Distributed, this error message can appear in Verification Stations, Project Setup Stations, and when ABBYY FormDesigner or ABBYY Flexi Layout studio is started.

Reason

This error occurs when the program can't find the ABBYY FlexiCapture Licensing Service.

Solution

The steps you should take to solve this problem depend on how ABBYY FlexiCapture is installed.

If the workstations and the Licensing Server (ABBYY FlexiCapture Licensing Service) are on the same computer 

  1. Check if the Licensing Service is running (Start → Control Panel → Administrative Tools → Services → ABBYY FlexiCapture Licensing Service). If the service isn't running, start it.
  2. Try disabling the antivirus and the firewall. If the error doesn't occur when the firewall is disabled, the firewall is probably blocking ports that need to open in order for the licensing system to work. Check if port 10040 (ABBYY FlexiCapture 10) and 3827 (ABBYY FlexiCapture 9.0) are in the firewall's list of exceptions. You can find this and other useful information about network settings in the System Administrator's Guide.   

If the workstations and the Licensing Server are on different computers

  1. Check if the Licensing Service is running (Start → Control Panel → Administrative Tools → Services → ABBYY FlexiCapture Licensing Service). If the service isn't running, start it.
  2. Check the connection between the workstation and the computer on which the ABBYY FlexiCapture Licensing Service is running. One way to check a connection between two computers is by using the ping command.
  3. Try disabling the antivirus and the firewall. If the error doesn't occur when the firewall is disabled, the firewall is probably blocking ports that need to be open in order for the licensing system to work. Check if port 10040 (ABBYY FlexiCapture 10) and 3827 (ABBYY FlexiCapture 9.0) are in the firewall's list of exceptions. You can find this and other useful information about network settings in the System Administrator's Guide.
  4. Check the address of the Licensing Server in the program's settings. The address should only contain the server's name, without any prefixes. So, for example, the address http://<server name> is invalid, since it contains the http:// prefix. 

    The settings of ABBYY FlexiCapture's servers and workstations are stored in files.
    • In ABBYY FlexiCapture 9.0, setting are stored in the Protection.ini file in %ALLUSERSPROFILE%/ABBYY\FlexiCapture\9.0\Licenses. This folder may be hidden.
    • In ABBYY FlexiCapture 10, settings are stored in the LicensingSettings.xml file. This file is in the installation folder of every workstation and server.
  5. The Protection.ini file contains the ServerName property and the LicensingSettings.xml file contains the ServerAdress tag. These elements contain the address of the Licensing Server.

  6. Make sure that the communication protocols used by the workstation and the server are the same. These protocols are specified in files that contain the settings of servers and workstations.  
    • In ABBYY FlexiCapture 9.0, settings are stored in the Protection.ini file in the %ALLUSERSPROFILE%/ABBYY\FlexiCapture\9.0\Licenses folder. This folder may be hidden.
    • In ABBYY FlexiCapture 10, settings are stored in LicensingSettings.xml files in the installation folders of servers and workstations.

    The communication protocol is specified in the RPCProtocolType property of the Protection.ini file (in ABBYY FlexiCapture 9.0) and under the RPCProtocolType tag (in ABBYY FlexiCapture 10). Make sure that the workstation and the server have the same value in this property or tag. So if, for example, the ProtocolType tag in the LicensingSettings.xml file of the Project Setup Station contains the value TCP/IP, and the same tag in the LicensingSettings.xml file of the Server contains the value NamedPipes, you will need to change the values so that they are the same in both files. In this case you would have to either change the value to NamedPipes on the workstation, or change it to TCP/IP on the server.

  7. Try changing the communication protocols. For example, if the server and the workstation use TCP/IP, switch them both to NamedPipes.
  8. If the address of the Server is specified as and IP address, check if this IP address is dynamic. If it is, the IP address of the computer with the Licensing Server may have changed. If this is the case, you should specify the address of the Licensing Server as the DNS name of the computer on which it is installed.

If the instructions above don't help, please send an e-mail with a description of the problem to our technical support service. Please include Ainfo reports from the workstation that failed to connect to the Licensing Server and from the Licensing Server itself in your message.

This article contains instructions on how to generate Ainfo reports.

131 people think this is helpful.
Was this information helpful to you?