Description
The feature class or table cannot be deleted because it is part of an ArcGIS Location Referencing dataset.
Solution
Run the Remove LRS Entity tool to remove the feature class's reference from the Location Referencing dataset, and delete the feature class.