laptop and a wrench

不具合

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.

最後に公開された状態: January 12, 2021 ArcGIS Pro
不具合 ID 番号 BUG-000136627
送信されましたJanuary 8, 2021
最終更新日July 8, 2025
適用対象ArcGIS Pro
見つかったバージョン2.7
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
修正されたバージョン2.8
ステータスFixed

対処法

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

再現の手順

不具合 ID: BUG-000136627

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動