SOE 10.1 Release Server Context on Single Object?

388
1
10-07-2012 08:59 AM
MelanieBruce
New Contributor
I am creating a server object extension in 10.1 using ArcObjects in C# (I am a newbie).  The extension extracts the source data during initialization when the service is started, places it on the webserver, and creates a JSON object for the download URL.

The trouble I am having is in zipping the extracted dataset.  There is a lock on the extracted dataset that does not get released until the service is stopped.  This is preventing me from zipping it. 

I thought I might be able to release the server context on a single object in the server object extension, but I cannot find a way to do this.  Does anyone have any ideas?

Thank you,
Melanie Bruce
0 Kudos
1 Reply
MelanieBruce
New Contributor
As a workaround, I am exporting to shapefile instead of file geodatabase.  I am not sure why the server places a lock on the FGDB and not on the shapefile, but this will work for my purposes.

Melanie Bruce
0 Kudos