English

Error: 999999: Error executing function. The value being added to the CodedValueDomain already exists

Error Message

In some instances, when using the Table to Domain geoprocessing tool the tool fails to run and the following message is displayed:

Error:
99999: Error executing function.
The value being added to the CodedValueDomain already exists.
User-added image

Cause

The error occurs if a duplicate code value in the table is used as an input in the tool.

Solution or Workaround

Before using the Table to Domain tool, remove the duplicate code value with the Delete Identical tool. For more information, see Delete Identical.

  1. Navigate to Arc Toolbox > General and run the Delete Identical tool.
  2. In the Input Dataset, click the Browse button User-added image and select the table.
  3. Check the Field(s) to be checked for duplicates.
  4. Click OK.
Once the duplicate code value is removed, run the Table to Domain tool again.

Related Information

ArcMap Help: Delete Identical
ArcMap Help: Table to Domain