ArcGIS Pro: Deleting a raster stored in a geodatabase fails,

514
3
06-22-2020 10:45 AM
JamalNUMAN
Legendary Contributor

ArcGIS Pro: Deleting a raster stored in a geodatabase fails,

 

I couldn’t figure out why deleting a raster stored in a geodatabase fails and ends up with the error shown in the screenshot below

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
3 Replies
DanPatterson
MVP Esteemed Contributor

000317: cannot be deleted.—Help | Documentation 

Did you restart ArcGIS Pro to see if the lock gets released?


... sort of retired...
JamalNUMAN
Legendary Contributor

For sure! If I restart the Pro, the issue is resolved.

 

But why do I need to restart the Pro each time I need to delete these rasters? The are outputs of a model and are not used anywhere to get them locked!

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
DanPatterson
MVP Esteemed Contributor

The locks are because they are still being referenced.

Locks ..... everyone wants the magic tool to release them, but it hasn't happened and probably won't for a long while

At least you have a workaround,  Save all your deletions for later


... sort of retired...