In some instances, when using the Table to Domain geoprocessing tool the tool fails to run and the following message is displayed:
99999: Error executing function.
The value being added to the CodedValueDomain already exists.
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.
Once the duplicate code value is removed, run the Table to Domain tool again.
- Navigate to Arc Toolbox > General and run the Delete Identical tool.
- In the Input Dataset, click the Browse button and select the table.
- Check the Field(s) to be checked for duplicates.
- Click OK.