Skip to main content
Users who choose to integrate ABBYY FlexiCapture with Microsoft Office365 may encounter errors like the following: “Unhandled exception at 0x00007FFAEAB2A839 (KernelBase.dll) in FlexiEx.exe: 0xC06D007E: Module not found (parameters: 0x000000E126EFE040).” The issue can be solved by creating and configuring a COM+ application.
Before creating a COM+ application:
  • Make sure that the ABBYY FlexiCapture services are running under the same user account that is used for the Microsoft Outlook profile. This can be achieved by opening Microsoft Outlook under the required account and adding a mail box from which the program will import documents.
  • Make sure that this user account under which the ABBYY FlexiCapture services are running has administrative permissions, because you will use this user account to create your COM+ application.
To create a COM+ application:
  1. Open the Component Services console and navigate to Console Root → Computers → My Computer → COM+ Applications.
  2. Right-click COM+ Applications and then click New → Application on the shortcut menu. The COM+ Application Install Wizard will open.
Screenshot of Component Services with COM+ Applications right-clicked and New, Application selected to open the COM+ Application Install Wizard.
  1. In the Install or Create a New Application dialog box, click Create an empty application.
Screenshot of the Install or Create a New Application dialog box with Create an empty application selected.
  1. In the Create Empty Application dialog box, enter a name for your application, select Server application, and click Next.
Screenshot of the Create Empty Application dialog box with an application name entered and Server application selected.
  1. In the Set Application Identity dialog box, select Interactive user - the current logged on user and click Next.
Screenshot of the Set Application Identity dialog box with Interactive user, the current logged on user, selected.
  1. In the remaining dialog boxes, simply click Next, leaving the default settings. Complete the creation of your COM+ application.
Once you have created your COM+ application, you need to import the required FlexiCapture component:
  1. In the list of available applications, locate your newly created COM+ application, right-click the Components folder, and then click New → Component.
Screenshot of Component Services with the new COM+ application's Components folder right-clicked to import a component.
  1. In the Import or install a component dialog box, click Import component(s) that are already registered.
Screenshot of the Import or install a component dialog box with the option to import components that are already registered selected.
  1. In the Choose Components to Import dialog box:
    • If you are using a 64-bit version of Microsoft Office, select the ABBYYFlexiCapture12.MapiConnectorX64.12 component and click Next.
    • If you are using a 32-bit version of Microsoft Office, select the 32-Bit Registry option, then select the ABBYYFlexiCapture12.MapiConnectorX86.12 component, and click Next.
    Screenshot of the registry selection with the 32-Bit Registry option chosen for a 32-bit Microsoft Office installation.
  2. Once you have imported the required component, right-click your COM+ application in the list of available applications and click Properties on the shortcut menu. In the application properties dialog box that opens, click the Pooling & Recycling tab.
  3. In the Expiration Timeout (minutes) box, type 60. In the Activation Limit box, type 1. Click OK to save your changes.
Screenshot of the COM+ application properties with Expiration Timeout set to 60 minutes and Activation Limit set to 1.
For the new import settings to take effect, you will need to restart the Processing Station.
It is recommended to turn off the Processing Station before configuring MAPI import. If you have not turned off the Processing Station and receive the “The RPC server is unavailable” error while configuring MAPI import, restart ABBYY FlexiCapture and the Processing Stations.
We recommend that you use Microsoft Outlook 2016 when importing to ABBYY FlexiCapture 12 using the MAPI protocol. Later versions of Microsoft Outlook are not supported.