COM Exception "Cannot modify batch structure from this script."

Symptoms

When a script is executed the following error message may appear: 

Document 1: System.Runtime.InteropServices.COMException (0x80004005): Cannot modify batch structure from this script. at ABBYY.FlexiCapture.IBatch.DeletePage(IPage _page) at Main.Execute(IDocument Document, IProcessingCallback Processing)

Cause

The reason is that method that is intended to be called on the Batch processing type is actually being called on the Document Processing type. 

Resolution

Switch the workflow script stage to the Batch Processing type.

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Recently viewed