PROBLEM
In some instances, running geoprocessing tools in ArcGIS Pro fail to generate new output fields in the attribute table and return the following error message:
Error: ERROR 000852: Cannot add field <value> to <value>
The following image shows the example of the error message returned after running the Near tool.
Based on the cause of the issue, use one of the solutions provided.
Ensure only one user is editing the data
Locks are applied to feature layers and services to ensure data integrity. When a user is editing data, a schema lock is placed on the table and the owner is not able to change the table schema.
Contact the user to close their connection to the features. Refer to ArcGIS Pro: Manage geodatabase locks for more information.
Enable full access to the file
Ensure the file is given read and write access to make changes. Refer to Problem: Running the Near tool fails and returns Error 000499 for the steps to do so.
Use the Feature Class To Feature Class tool to make the file editable and is stored in a local geodatabase file
The image below shows the Near tool is completed and the fields are added successfully to the attribute table.
Article ID: 000026868
Get help from ArcGIS experts
Download the Esri Support App