Skip to main content

Publish Batch Class with KTM Project Error: An entry with the same key already exists

QAID # 18625
Article # 306043 - Page views: 190

QAID # 18625

QAID # 18625 Published

Question / Problem:

Customer use a Batch Class which is mapped with a Kofax Transformation Modules project.

When importing this Batch Class in a test environment and trying to publish, the following error message is appearing:

An entry with the same key already exists

When trying to synchronize this Batch Class with the KTM project again, and clicking on "Synchronize with KTM project," nothing is happening.

How can this issue be resolved?

Answer / Solution:

This error was seen when Documents or Form Types are copied and pasted within the Batch Class. This will destroy the mapping with the current KTM project.

To resolve this issue, delete the copied Document Class or Form Type and create a new one, or re-create the KTM mappings:

  1. Navigate to \\CaptureSV\TransformationDB\ImportedProjects\ and rename the folder for the KTM project in question.
  2. Start KTM Synchronization and confirm the message that all mapping will be deleted.
  3. Re-open the renamed KTM project.
  4. Re-assign Document Classes, Form Types and fields to the KTM project.
  5. Synchronize the KTM Project successfully.
  6. Publish the Batch Class.

Applies to:

Product Version Category
AXPRO 5.0 Project Builder
AXPRO 5.5 Project Builder
AXPRO 5.6 Project Builder
CAPTURE 10.0 Other
CAPTURE 10.1 Other


  • Was this article helpful?