Select to view content in your preferred language

File Geodatabase Failure

3079
12
05-25-2011 09:36 AM
AndrewBrown1
Deactivated User
Hi Guys,

This morning I was working on a project which had the layers pointed to a file geodatabase in the filesystem on our server; things were normal.

But then I had to utilize some geoprocessing tools that required an output location, so when it came time to point the output to the geodatabase, I couldn't see the file geodatabase.

So, using the built-in Catalog, I looked for the geodatabase. Apparently, ArcMap/Catalog didn't recognize the file geodatabase; instead it thought it was a folder with the .gdb in the folder name.

At this time, the layers were still linked to the file geodatabase, but once I closed and reopened the MXD, all of the layers were broken.

Does anybody know what's going on? Is my file geodatabase corrupted? If so, can I recover it?
All of this project's data was stored in there. If it's all gone, I'm simply SOL.

I'm running ArcGIS 10 SP2. My coworker with SP1 cannot see the geodatabase either. I know the geodatabase was created using ArcGIS 10 SP1.

Thanks,
Andrew
0 Kudos
12 Replies
LanceShipman
Esri Regular Contributor
What is the source of the shapefiles? Where they created with ArcGIS or ? 

Failed how? What error was returned?

Was this working before you added data creator and editor fields?

Any details would be helpful.
0 Kudos
ThomasStanley-Jones
Deactivated User
I have also had this happen to me.  Not on anything crucial though.  I've usually noticed it when i try and delete a File Geodatabase with ArcCatalog 10.1.  Can't say I've noticed it with 10.0.  I would delete the FGDB and then it would show up as a folder with a .GDB extension.  Couldn't delete it with ArcCatalog, and not even with Windows Explorer until I restarted my computer.  This happened about half a dozen times before I realized what was going on.  Now I only delete them with Windows Explorer.
0 Kudos
LanceShipman
Esri Regular Contributor
The needing to restart indicates that another process has a lock on the file geodatabase. A file geodatabase cannot be deleted id a lock is present. You should delete a file geodatabase from ArcGIS, not from the file system. Deleting a file geodatabase from the file system may leave some files on disk. Rather than rebooting you need to shut down the locking processes. From windows explorer look in the file geodatabase directory. You should see some files file a .lock extension. The file names include the process number.
0 Kudos