Skip to main content
Kofax

Illegal file name ErrorCode 19 in XML AutoImport

7356

QAID # 7356 Published

Question / Problem:

When using XML Auto Import, I receive an

ErrorCode="19" ErrorMessage="Illegal file name ()"

entry in the XML file.

How can I fix this?

Answer / Solution:

One cause of this error is in fact the use of an illegal file name, likely for the ImportFileName attribute of a Page element.

You may receive "ErrorCode=19 Illegal File Name" if you do not include full path to the file in the name.

For Example, a Page element line of:
    <Page ImportFileName="00000001.TIF"/>

would raise the error, while a Page element line of:
    <Page ImportFileName="C:\00000001.TIF"/>

would not.

This error can also occur when an XML attribute name contains a character in the wrong case. In this situation, that would be the ImportFileName attribute.

For Example, a Page element line of:
    <Page Importfilename="C:\00000001.TIF"/>

would raise the error, while a Page element line of:
    <Page ImportFileName="C:\00000001.TIF"/>

would not.

Keyword(s):

  • 19

Applies to:

Product Version
CAPTURE 10.0
  10.1
  10.2
  11.0