I am using ArcGIS runtime SDK for .NET 100.5 to develop a WPF application. I am using this sample code https://developers.arcgis.com/net/latest/wpf/guide/sync-offline-edits.htm to synchronize the *.geodatabase. Most of time, it has been working well, but one of my users failed to sync his data today. He got an error message below:
I guess that this error was caused by the large offline geodatabase (*.geodatabase), but I am not sure. Does anyone have any idea about this error? This user’s offline geodatabase (*.geodatabase) is over 2GB. Is 2GB a large size for a offline geodatabase? Is there a size limit for a offline geodatabase (*.geodatabase) to do synchronization? Our feature service is running on ESRI ArcGIS online.
Thanks for your help.
In a portal implementation we have considerably larger offline data, so I do not know if there is a size limit. The size of the data being processed would be associated to the number of changes, though, not the size of the actual offline replica.
When a Sync occurs what happens on upload is:
What you can do when the job fails to call job.ToJson() and log this. This is a lot of the communication between server and client during the sync and may give more information. As the message may not mean a whole lot
Thank you so much for your explanations and suggestions. Sorry for the late reply. This user has been syncing his data successfully all the time, but I am not sure why now he couldn't do it. I will try to call job.ToJson() to see if I can find something. Thanks again.
I called job.ToJson() when the job failed and got the following message. It looks like that delta database had been created, but uploading it was failed, right? The length of delta database file has an error, doesn't it? How can I fix it? Thanks for your help and Happy New Year!
I there possibly any type of virus scan or something else IT wise that could be happening on that folder that could lock the file? Seems like for some reason it just fails accessing the file. That's just a thought