[GIS] Unable to add field – schema lock

arcgis-10.2arcgis-desktop

I was going to add a field to my polygon layer for obtaining the area of the polygon and got an error message shown below. Never encountered this before – what is going on here?

enter image description here

Best Answer

From ArcGIS Rules for working with schema locks:

A schema is the structure or design of a database or database object such as a feature class or table. A schema lock means that another application is accessing a database, and you are not allowed to alter its structure by adding or removing fields.

As Martin and PolyGeo noted in comments above, if the file is open in any other Esri software -- ArcCatalog, another instance of ArcMap, or Python -- that is causing the schema lock. If shutting down all ArcGIS software and restarting ArcMap doesn't release it, then you may need to reboot the computer.

A schema lock can also occur if your data is on a network or in an SDE database, althouhg yours appears to be on the C: drive so that is probably not the case here. If that does occur, however, then you need to contact other users who may be viewing the data and ask them to stop.