SyncSurvey
SyncSurvey copied to clipboard
If EGDB already has the domain, script fails
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).