laptop and a wrench

Bug

RuntimeError "workspace already in transaction mode" occurs when using da.UpdateCursor on TableView after changing the version.

Last Published: August 17, 2018 ArcSDE/Enterprise Geodatabase
Bug ID Number BUG-000114598
SubmittedJune 11, 2018
Last ModifiedFebruary 14, 2025
Applies toArcSDE/Enterprise Geodatabase
Version found10.4.1
Operating SystemWindows OS
Operating System Version10.0
StatusWill Not Be Addressed

Additional Information

ArcGIS Desktop (including ArcGIS Engine and ArcObjects) is in mature support and will be retired March 1, 2026. Mature support means the end of functionality-based patches and hotfixes; therefore, this issue will not be addressed. There are no plans for future releases of ArcGIS Desktop, and it is recommended that you migrate to ArcGIS Pro. See Migrate from ArcMap to ArcGIS Pro for more information. https://www.esri.com/en-us/arcgis/products/arcgis-pro/resources/migrate

Workaround

  1. Change the connection file to point to the desired version.
  2. Use the CreateDatabaseConnection_management tool to generate a temporary connection file pointing to the desired version. Delete when the script finishes.
  3. Use a config file to store the arguments for the CreateDatabaseConnection tool to keep the username and password out of the script.

Steps to Reproduce

Bug ID: BUG-000114598

Software:

  • ArcSDE/Enterprise Geodatabase

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options