How To: Obtain a lock on parent version during reconcile
With the release of ArcGIS 10.2.1 and the ArcGIS 10.1 SP1 for (Desktop, Engine, Server) Quality Improvement Patch, the behavior of the Reconcile command was changed to no longer obtain a lock on the target or parent version. The use case for this change is to facilitate sites that want editors/users to simultaneously reconcile multiple versions for the purpose of moving changes from the target to the edit version. In the scenario described below, the editors/users have no intention to merge any changes into the target version, i.e., running the Post command.
Certain sites may want to maintain the previous (classic) behavior of the Reconcile command to obtain a lock on the parent version without requiring any custom code.
The ability to change the Reconcile command to use the classic behavior and obtain a lock on the target version is controlled through the Windows Registry. The registry value 'ObtainTargetLock', of type DWORD set to 1 in the Geodatabase key.
Note: If the Geodatabase key does not exist, it can be created by following the steps below.
Warning: The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary. Esri cannot guarantee results from incorrect modifications while following these instructions; therefore, use caution and proceed at your own risk.
- Open the Registry Editor and navigate to
- If the ObtainTargetLock key does not exist, create it.
- Set the DWORD value to 1, click OK, and close the Registry Editor.