Select to view content in your preferred language

Unable to delete geodatabase file error in qml

1744
1
Jump to solution
05-25-2016 10:11 AM
tanerkoka
Frequent Contributor

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

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

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.

View solution in original post

0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor

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.

0 Kudos