SyncSurvey icon indicating copy to clipboard operation
SyncSurvey copied to clipboard

If EGDB already has the domain, script fails

Open tpcolson opened this issue 6 years ago • 0 comments

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).

tpcolson avatar Mar 30 '18 18:03 tpcolson