Import Server OFR Macro (OFR-Import-Server-Macro.bas) Fails to Import Document with Blank Page Separator "The attachment [Import Server Oracle Forms Recognition macro] was determined to be invalid" (Doc ID 1539381.1)

Last updated on FEBRUARY 09, 2017

Applies to:

Oracle WebCenter Forms Recognition - Version 10.1.3.5.0 and later
Oracle WebCenter Capture 10g - Version 10.1.3.5.1 and later
Information in this document applies to any platform.

Symptoms

When setting up Import Server with the OFR integration macro "OFR-Import-Server-Macro.bas", an error is received in the Import Server log when a document containing a blank page is imported.  The logging appears as:

03/20/13 15:05:09 1105 Start processing batch Wed, 20 Mar 2013 19:53:22 +0000.
03/20/13 15:05:09 1106 Importing Email Provider batch Wed, 20 Mar 2013 19:53:22 +0000 into batch 0320135430949.
03/20/13 15:05:09 5116 Processing attachment #1 [recv4057.pdf].
03/20/13 15:05:10 1137 File is being processed through the Oracle Document Capture printer.
03/20/13 15:05:14 708 Blank page detected - Page will be discarded due to size: 1634 bytes...
03/20/13 15:05:14 1112 The page C:\Users\LESHAR~1\AppData\Local\Temp\ISP5430956.pdf000002.TIF of batch [0320135430949] was not processed as requested by the VBA macro's AddPage event.
03/20/13 15:05:17 5139 The attachment [Import Server Oracle Forms Recognition macro] was determined to be invalid.
03/20/13 15:05:17 1116 No pages were added to the new batch. This batch will be removed.
03/20/13 15:05:17 1310 ***Error*** Error occurred during batch importing, import item Wed, 20 Mar 2013 19:53:22 +0000 did not import. Provider: Email Provider Job: VendorInvoicesImport
03/20/13 15:05:17 5110 Logged out of account [TEST\VendorInvoices] on IMAP server [emlap01.TEST.com].
03/20/13 15:05:17 5111 Disconnected from IMAP server [emlap01.TEST.com].
03/20/13 15:05:17 1104 Job [VendorInvoicesImport] is finished.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms