laptop and a wrench

Erro

Diagnose Version Tables and Repair Version Tables fail and return Error 999999 when the sde_tables_locks table has the tables_locks_fk foreign key constraint.

Última Publicação: January 12, 2021 ArcGIS Pro
Número de ID do Erro BUG-000136627
EnviadoJanuary 8, 2021
Última ModificaçãoJuly 8, 2025
Aplica-se àArcGIS Pro
Versão encontrada2.7
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
Versão Fixa2.8
StatusFixed

Solução Provisória

Before running the Repair Version Tables geoprocessing tool, run the following SQL in SQL Server Management Studio on the enterprise geodatabase to drop the 'table_locks_fk' key constraint.

  • ALTER TABLE [sde].[SDE_table_locks] DROP CONSTRAINT [table_locks_fk]
  • GO

Once the key constraint is dropped, run the Repair Version Tables geoprocessing tool.

After the Repair Version Tables geoprocessing tool is run successfully, immediately recreate the 'table_locks_fk' foreign key constraint to avoid other issues such as orphaned connections & locks. Run the following SQL to recreate the 'table_locks_fk' foreign key constraint.

  • ALTER TABLE [sde].[SDE_table_locks] WITH CHECK ADD CONSTRAINT [table_locks_fk] FOREIGN KEY([sde_id])
  • REFERENCES [sde].[SDE_process_information] ([sde_id])
  • ON DELETE CASCADE
  • GO
  • ALTER TABLE [sde].[SDE_table_locks] CHECK CONSTRAINT [table_locks_fk]
  • GO

Etapas para Reproduzir

ID do Erro: BUG-000136627

Software:

  • ArcGIS Pro

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