Select to view content in your preferred language

File Geodatabase Lock

563
2
10-15-2012 01:17 PM
TommyBramble
Regular Contributor
Hello all...

I'm developing an ArcGIS Server Server Object Extension (10.0) and programmatically opening a filegeodatabase to read and edit some featureclasses and stand alone tables.

Reading the filegeodatabase works great, opening an edit session from the workspace seems to pass, but when the edit action is processed an exception is thrown with the 'Access Denied' error.

When running the SOE in debug I can see that a file geodatabase lock is created when the workspace is opened.  That same workspace is used for the edit operations, but there is still some conflict throwing the access denied error.

Does anyone happen to have any insight on this?  I can provide code if necessary.  Thanks.
0 Kudos
2 Replies
nicogis
MVP Alum
you have high risk editing in server side fgdb because fgdb is file-based. For design if you need editing fgdb I advise you create scratch fgdb workspace (how esri does with jobs gp).
0 Kudos
carolmur
New Contributor
i am just trying to edit inside a fgdb that is sitting on a network server and keep getting 'file is read-only' error... is this something other's have experienced? any insight into when ESRI might SOLVE THIS PROBLEM!
0 Kudos