laptop and a wrench

Bug

Attempting to enable archiving on a feature class with the Spatial Reference System Identifier (SRID) set to 0 or on a feature class in which the Define Projection tool is run returns the following error, "Failed to enable archiving."

Zuletzt veröffentlicht: July 12, 2018 ArcSDE/Enterprise Geodatabase
Bug-ID-Nummer BUG-000095895
EingereichtApril 20, 2016
Zuletzt geändertJune 5, 2024
Gilt fürArcSDE/Enterprise Geodatabase
Gefunden in Version10.2.1
BetriebssystemN/A
BetriebssystemversionN/A
StatusWill Not Be Addressed

Zusätzliche Informationen

This known issue is encountered because of an invalid workflow. The projection is changed (not supported) after data has been created in the original projection. The archive table ends up with the new projection and the business table still has a check-constraint that does not match the new projection.

Workaround

Changing the SRID value stored in the shape column in the feature class table in the SQL Server database, resets the SRID value in the Feature Class properties > General tab.The check constraint on the shape field prevents any changes being made to the SRID value in the feature class. So changing the SRID value in the feature class from SQL Server Management Studio can be done only after disabling the check constraint and then setting the SRID value to the correct one. Finally update the constraint with the new SRID. The following syntax was used on the feature class sde.TESTSHP_SRID, with the geometry in the 'Shape' column. The SRID is changed from 0 to 4326 (for WGS 1984 coordinate system).SELECT shape.STSrid from sde.TESTSHP_SRID;alter table sde.TESTSHP_SRID NOCHECK CONSTRAINT ALL;update sde.TESTSHP_SRID set shape.STSrid = 4326;alter table sde.TESTSHP_SRID CHECK CONSTRAINT all;NOTE:The check constraint for the feature class in the geodatabase needs to be updated so that it checks for Shape.STSRID = 4326 and not 0, because any new features added to this table in the future should have the correct SRID number.

Schritte zur Reproduzierung

Bug-ID: BUG-000095895

Software:

  • ArcSDE/Enterprise Geodatabase

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln