Knowledge Base - Technical Articles


Technical Article   Error:  Failed to delete a domain from the database

Article ID: 29471
Software:  ArcGIS - ArcEditor 8.3, 9.0, 9.1, 9.2, 9.3, 9.3.1 ArcGIS - ArcInfo 9.0, 8.3, 9.1, 9.2, 9.3, 9.3.1 ArcSDE 8.3, 9.0, 9.1, 9.2, 9.3, 9.3.1
Platforms: N/A

Error Message

Deleting a domain from a geodatabase results in one of the following errors:

"Failed to delete a domain from the database.
The domain is used as a default domain."

"Failed to delete a domain from the database.
The domain is used by an attribute rule."

Cause

These errors occur if the domain is applied to one or more fields in the geodatabase.

Solution or Workaround

To delete a domain, it must not be associated with any fields in the geodatabase.

For information regarding how to associate and disassociate domains from fields, refer to the ArcGIS Desktop Help.

In 9.1 Navigate to Building a geodatabase > Subtypes and attribute domains > Associating default values and domains with feature classes and tables.

In 9.2 Navigate Geodatabases and ArcSDE > Building a Geodatabase > Working with geodatabase datasets > Domains > Associating default values and domains with feature classes and tables.


    Created: 6/27/2005
    Last Modified: 5/3/2011

    Article Rating: (1)
    If you would like to post a comment, please login

    Comments

    By Anonymous - 11/20/2007 4:19 PM

    The article contains a dead link.

    Hi... The path of the help is incomplete. "Navigate to Building a geodatabase > Subtypes and attribute domains > Associating default values and domains" missed a couple layers. http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=Associating_default_values_and_domains_with_tables_and_feature_classes Also - information on how we can determine WHICH feature classes are actually using the particular domain code we wish to delete would be nice. Then users can go in and remove that link in order to remove the domain code.

    Rating: