tedrick / SyncSurvey

Synchronize a Hosted Feature Service to an Enterprise Geodatabase
18 stars 4 forks source link

If EGDB already has the domain, script fails #9

Open tpcolson opened 6 years ago

tpcolson commented 6 years ago

If the enterprise GDB already has the coded value domain (e.g from previous interation of using script with similar feature service), the script fails with:

FAIL: Making Tables exception: ERROR 000464: Cannot get exclusive schema lock. Either being edited or in use by another application. Failed to execute (TableToDomain).

['ERROR 000464: Cannot get exclusive schema lock. Either being edited or in use by another application.\nFailed to execute (TableToDomain).\n'] <class 'arcgisscripting.ExecuteError'> 562

arcpy messages:

ERROR 000464: Cannot get exclusive schema lock. Either being edited or in use by another application. Failed to execute (TableToDomain).