Select to view content in your preferred language

AddCodedValueToDomain - Cannot get exclusive schema lock

514
2
12-01-2010 11:11 AM
RandyKreuziger
Frequent Contributor
I'm having an issue with updating domains in ArcSDE.  When I run the "Add Coded Value To Domain" geoprocessing tool interactively I get the following schema lock error

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

What's strange is that the command does update the domain even though it generates an error.  Any ideas?

Environment:
  ArcSDE 9.3.1 64-bit, SQL 2008 64-bit, Windows Server 2008 64-bit
0 Kudos
2 Replies
ScottSnider
Occasional Contributor
I get the same behavior.
0 Kudos
SusanJones
Frequent Contributor
Hi
The problem is persistant with ArcSDE and works nicely with File Geodatabase Connections. (I would expect the opposite)

arcpy.TableToDomain_management() is the tool that can be used

Susan
0 Kudos