laptop and a wrench

漏洞

Running a Python script in ArcMap that changes the data sources to ArcSDE feature classes creates multiple ArcSDE connections.

上次发布: August 25, 2014 ArcSDE/Enterprise Geodatabase
漏洞 ID 编号 NIM071979
已提交August 24, 2011
上次修改时间April 2, 2025
适用范围ArcSDE/Enterprise Geodatabase
找到的版本10.0
操作系统Windows OS
操作系统版本2008 R2 64 Bit
状态Non-Reproducible

附加信息

Non-reproducible at 10.1

解决办法

1) In the line, mxd = arcpy.mapping.MapDocument("CURRENT") change "CURRENT" to the path of the mxd. i.e mxd = r"<a href="file:C:/Documents" target="_blank">C:\Documents</a> and Settings\mela6448\My Documents\Incidents\956207 - Python - Max Connections\GreeleyCO.mxd"2) Add the following line after declaring the mxd path: mxd = arcpy.mapping.MapDocument(mxd)3) Run the script in ArcCatalog or PythonWin.

重现步骤

漏洞 ID: NIM071979

软件:

  • ArcSDE/Enterprise Geodatabase

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项