Hi, I am trying to access the deltaDirectory of the AGSGDBSyncTask to see the Delta Files. But my app crashes on trying to access the deltaDirectory although I am able to set the deleteDeltas to false. Is there a way to configure the deltaDirectory?
No you cannot specify the directory to place the delta files. What sort of crash are you getting when trying to access the file? Can you provide the stack trace?
Also, out of curiosity, what do you need the delta files for?
It's not really accessible on the device - but when you sync you can grab a copy of the delta database from the upload location:
\\serverName\ArcGISServer\directories\arcgissystem\arcgisuploads\services\folder\serviceName.FeatureServer\uploadID\
This folder will contain a .geodatabase named with your replicaID that can be converted to a FGDB. We've found this endlessly helpful when trying to diagnose sync errors.
Hi Michael,
How do you convert the delta geodatabase to FGDB? I tried the tool "Copy Runtime Geodatabase to File Geodatabase" in 10.4.1 and 10.3.1 without any luck... The error message just said unable to copy and suggested contacting Esri technical support for any input data issue.
Thanks,
Shimin
The Copy Runtime Geodatabase to File Geodatabase tool is super picky - I've had the best success moving the runtime geodatabase to a folder on my desktop and saving the FGDB to the same spot. I don' think I've ever had it run successfully on a network drive.
I did it in a folder on my desktop computer. Tried again with the same problem... Thanks anyway.
Not to spend too much time chasing a lost cause - but depending on your username it might be having a fit about the file path... it might be worth trying in the root of the C drive as well.
I've run into some instances where the tool flat our refused to work on a machine - but worked fine on the same .geodatabase file when running on a different machine - like a CITRIX box.
Thanks Michael. Tried your suggestions and it did not work either. However, I tried a different database from a different feature service and it worked. Maybe a database specific problem... Thanks again