English

Error: Validate Topology failed. The number of errors generated during the topology analysis exceeds the specified threshold

Error Message

Validate of a topology fails with the error message:

"Validate Topology failed.
The number of errors generated during the topology analysis exceeds the specified threshold.
A failure was detected inside the topology engine overaly processor. [error id: -2147214997]"

Cause

The number of errors generated during Validate has exceeded the maximum number of allowable errors for the topology. This value can only be set programmatically and is specified by the maxGeneratedErrorCount parameter on the ITopologyContainer::CreateTopology method.

Topologies created with ArcCatalog have a maxGeneratedErrorCount of -1 and no limit to the number of errors generated during validate.

Solution or Workaround

There are 2 possible solutions:

  • Drop and rebuild the Topology with a larger maxGeneratedErrorCount value or a value of -1.
  • Validate the topology within ArcMap incrementally, fixing the errors as they are discovered, so the maxGeneratedErrorCount threshold is never reached.