laptop and a wrench

Erro

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

Última Publicação: July 12, 2018 ArcSDE/Enterprise Geodatabase
Número de ID do Erro BUG-000095895
EnviadoApril 20, 2016
Última ModificaçãoJune 5, 2024
Aplica-se àArcSDE/Enterprise Geodatabase
Versão encontrada10.2.1
Sistema OperacionalN/A
Versão do Sistema OperacionalN/A
StatusWill Not Be Addressed

Informações Adicionais

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.

Solução Provisória

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.

Etapas para Reproduzir

ID do Erro: BUG-000095895

Software:

  • ArcSDE/Enterprise Geodatabase

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download