laptop and a wrench

漏洞

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

上次发布: August 17, 2018 ArcSDE/Enterprise Geodatabase
漏洞 ID 编号 BUG-000114598
已提交June 11, 2018
上次修改时间February 14, 2025
适用范围ArcSDE/Enterprise Geodatabase
找到的版本10.4.1
操作系统Windows OS
操作系统版本10.0
状态Will Not Be Addressed

附加信息

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

解决办法

  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.

重现步骤

漏洞 ID: BUG-000114598

软件:

  • ArcSDE/Enterprise Geodatabase

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项