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?