VERIFIED SOLUTION i

Referential Integrity Agent error "Error while updating entity key: '' in map. Exception: 'Map layer could not be loaded for Feature Group '''." in Confirm

Products affected: Confirm®
Product feature: Mapping
 

Issue

The Referential Integrity Agent within Confirm® constantly fails when it runs. The following message is displayed in the Comments field and repeats in the Task Processor Error log file:

2018-09-04 02:05:30.3925 ¦JIUXPFJY¦5404¦95 ¦D Error ¦ Error while updating entity key: '10281012' in map. Exception: 'Map layer could not be loaded for Feature Group 'Whole Street Feature (WSF)''. Stack Trace: at MapInfo.Confirm.Application.ReferentialIntegrity.Feature.FeatureMapping.SwitchToMapLayer(FeatureGroup featureGroup)

Cause

The Referential Integrity Map Layer does not exist at the path\location where Confirm is set to look for it.

For the Feature Group Code specified in the error, as per the Feature Group screen, your  have the drop-down field 'Referential Integrity Map Layer' populated with the name of a Layer.

Looking in the Map Workspace Manager, the aforementioned layer, when viewed within the 'Registered Layers' section, shows in red text with a red exclamation mark against it.

Use the 'Properties' tab in the 'Registered Layers' section of Map Workspace Manager to observed the file path\location. Looking in File Explorer, the tab files does not actually exist.

Resolution

UPDATED: October 18, 2018
Use the 'Properties' tab in the 'Registered Layers' section of Map Workspace Manager to observed the file path\location.
  1. Place the corresponding Tab files into the correct location.
  2. Restart the Referential Integrity Agent.