Skip to main content
Kofax

Illegal file format error importing an image using XML Import

21925

QAID # 21925 Published

Question / Problem:

The following error occurs when trying to import an image using XML Import:

<ImportSession ErrorCode="20" ErrorMessage="Illegal file format (\\pathname\filename.tif)">
    <Batches>
        <Batch Name="name" BatchClassName="name" EnableAutomaticSeparationAndFormID="1" Processed="1">
            <Pages>
                <Page ImportFileName="\\pathname\filename.tif" ErrorCode="20" ErrorMessage="Illegal file format (\\pathname\filename.tif)" />
            </Pages>
        </Batch>
    </Batches>
</ImportSession>

Answer / Solution:

This issue can be caused by a modified or malformed TIFF file.

The third-party tool Irfanview (http://www.irfanview.com/) can be used to make this determination:

  1. Launch the application.
  2. Use the vertical arrow keys in the upper-right corner to traverse through each page of the file.
  3. If there is a problem with any of the pages, the following message will display on the bottom of the screen:
    • no file loaded (use File -> Open Menu).

Applies to: 

Product Version
CAPTURE 10.2
  11.0