I'm trying to rebuild and/or delete a locator in a file geodatabase but am getting weird errors. When attempting to delete it says, "Failed to delete selected object(s) A locator with this name does not exist." When attempting to rebuild it says, "Can't rebuild address locator A locator with this name does not exist." But the icon still shows up in ArcCatalog.
Has anyone else had this problem and found a solution?
Thanks!
Solved! Go to Solution.
This is very weird, it might be corruption.
To change the subject, locator storage in a database (even file) is not recommended, just store them on (preferably SSD) disk.
Bruce
This is very weird, it might be corruption.
To change the subject, locator storage in a database (even file) is not recommended, just store them on (preferably SSD) disk.
Bruce
If you absolutely have to get rid of it, try exporting the data within the geodatabase you wish to keep to another geodatabase and and then delete the geodatabase with the problem locator. You may need to delete the fgdb as a directory via winodws explorer.
At any rate, I'm with Bruce Harold on this one; don't store your locators as database objects. In fact I'm pretty sure it was Bruce who suggested the same thing to me several years ago when I had an issue with one. I thought it very convenient to keep matching data, results and locators all in the same fgdb. And it is, until something goes rogue...
Thanks to both Bruce and Joe. I’m pretty sure it was a corrupt databsase so I deleted and created a new one from backups.
Also, thank you for the suggestion to store locators separately. I moved them and am creating new services and so far they seem to work well.