Unable to perform RPC call. The remote procedure call failed.

  • 524 Views
  • Last Post 06 December 2016
  • Topic Is Solved
hakanaktan posted this 05 December 2016

Dear Sir/Madam,

We have this error at a customer client computer. Client needs to connect a server that runs frEngine License Server. We do not have any error about license. Our client software tries to get tokens from server. We do not have exception if we work with 1 or 2 files. If we run client application with 3 or more files, we get this exception. Here the details :

The description for Event ID 1 from source ABBYY FineReader Engine 10 Processor cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: FREngine Processor Unable to perform RPC call. The remote procedure call failed.

Order By: Standard | Newest | Votes
Oksana Serdyuk posted this 06 December 2016

We need some additional information from you to investigate the issue. Please send us to SDK_Support@abbyy.com the following:

  1. The used serial numbers: the Developer (Master) and Runtime licenses.

  2. The AInfo report from the machine where you launch the application and get the error. To do it run AInfo.exe from the <Installation folder>/Bin/Support folder.

  3. The FREngine log file generated by the FREngine application when the error occurs. To switch on logging use the StartLogging() method of the Engine object.

  4. The sample project where the issue is reproduced.

hakanaktan posted this 08 December 2016

Dear Madam,

I changed my code for RPC error and now i don't receive the same error. I used a "knowledgebase" that adviced in this forum. Now i get another error. I must doing something wrong but could not found. The codes and error detail is below. Thanks in advance

Createtion of ImageProcessingEngine class:

public static class ImageProcessingEngine
    {
        private static IEngineLoader engineLoader = new FREngine.OutprocLoader();

And the disposition of class:

public static void DisposeEngine()
        {
            if (_frEngine != null)
            {
                engineLoader.ExplicitlyUnload(); // We can unload it when it is no longer needed

                if (batchProcessor != null)
                {
                    batchProcessor.Dispose();
                }
            }
        }

.and last error log is here:

ERROR - Application error (Thread Exception) Details :
System.Runtime.InteropServices.COMException (0x80010105): The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) at FREngine.IEngineLoader.ExplicitlyUnload() at eBAImageProcessingApi.ImageProcessingEngine.DisposeEngine() in c:\eBAProject\Development\dev\eBACapture\eBAImageProcessingApi\ImageProcessingEngine.cs:line 495

Oksana Serdyuk posted this 09 December 2016

The HRESULT: 0x80010105 (RPC_E_SERVERFAULT) exception is returned, if FREngine is loaded into a surrogate process and any AV occurs. Unfortunately, it is impossible to draw any conclusions about the cause of the error without knowing which particular AV has happened. So please send us the listed above additional information.

Also we would suggest you to refer to our sample EnginePool at C# in FREngine 11 (unfortunately, there is no such sample for FREngine 10). This sample shows how to work correctly with a pool of the OutprocLoader objects. To get the trial version of FREngine 11 please contact your Region Sales Manager.

  • Liked by
  • hakanaktan
Close