Please make sure all the resources for the Document Definition (for example, the Attachments folder) are located in the same folder as the .fcdot file.
DocumentDefinitions
LoadFromFile Method of the DocumentDefinitions Object
This method allows you to load a Document Definition from a .fcdot file created in ABBYY FlexiCapture 12.
If an invoice Document Definition was created in version of ABBYY FlexiCapture earlier than in Developer’s Package, its settings may be incompatible with current version of ABBYY FlexiCapture SDK. Such a Document Definition will not be loaded by calling the method, and an error will occur. In this case, you need to import the Document Definition to a project in FlexiCapture Developer’s Package and update it or correct the settings.
