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.
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.
- 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.
Once the duplicate code value is removed, run the Table to Domain tool again.