Hi,
I have Local geodatase editing app like Arcgis Runtime Qt Samle app, firstly I generate geodatabase and then sync editings back to the service after that I unregister geodatabase geodatabaseSyncTask.unregisterGeodatabase(gdb) with unregister methot. After that when I generate geodatabse again in other extent gives Unable to delete geodatabase file: C:/Users/....../ArcGIS/Runtime/Data/Test/offlineSample.gdb error .How to solve this problem ?
Thanks
Solved! Go to Solution.
Are you using QML or C++. If C++, make sure you are deleting all references to the gdb (including feature tables, feature layers, etc), and you should be able to delete the file. QML is a trickier story, since it is hard to explicitly delete objects. We are looking at a way for you to do this with our Quartz release, but for now, you will probably need to create a new gdb with a new name.
Are you using QML or C++. If C++, make sure you are deleting all references to the gdb (including feature tables, feature layers, etc), and you should be able to delete the file. QML is a trickier story, since it is hard to explicitly delete objects. We are looking at a way for you to do this with our Quartz release, but for now, you will probably need to create a new gdb with a new name.