OCR SDK Knowledge Base

Article ID: 1096 | Category: Licensing | Type: FAQ | Last Modified: 11/15/2013

Message "Failed to run license ... There are no free licenses."


Why does the Failed to run license ... There are no free licenses. error message appear?


This message may appear if too many instances of the application are running at the same time. The number of instances cannot exceed the CPU core limit indicated in your license's properties. In order to expand the CPU core limit please contact your local sales manager.

You can use the CPU cores in shared mode. In this mode any number of processes can be run. In order to use CPU cores in shared mode

  • [FREngine 10] load FREngine with empty license number, then set MultiProcessingParams properties, then set current license with appropriate serial number. Please see the following code snippet as an example:
IEngine engine = engineLoader.Load("", "");
engine.MultiProcessingParams.SharedCPUCoresMode = true;
engine.SetCurrentLicense(engine.Licenses.Item(0), licenseNo);
  • [FREngine 11] set the IsSharedCPUCoresMode parameter of the GetEngineObjectEx function to TRUE during initialization. If you need shared core usage, setting this mode at initialization time is safer. Formerly, the cores were loaded as isolated and then transferred to shared, which could cause problems when starting several applications at once. The code may look like:

    IEngine engine = engineLoader.GetEngineObjectEx(developerSN, DataDir, TempDir, true, null, null);

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

    Related Forum Questions

    FineReader 10.5 SDK License Issues

    We have been running the ABBYY FineReader 10.5 SDK for over two years and just a few weeks ago, we...

    Failed to run license **.License storage (Dongle **) was removed from ABBY Licensing Service

    Dear Sir/Madam, We have a software that uses FREngine.dll version We get this error...

    More related questions on Forum