laptop and a wrench

Bogue

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

Dernière publication: August 25, 2014 ArcSDE/Enterprise Geodatabase
Numéro d’ID de bogue NIM071979
EnvoiAugust 24, 2011
Dernière modificationApril 2, 2025
S’applique àArcSDE/Enterprise Geodatabase
Version trouvée10.0
Système d’exploitationWindows OS
Version du système d’exploitation2008 R2 64 Bit
StatutNon-Reproducible

Informations supplémentaires

Non-reproducible at 10.1

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: NIM071979

Logiciel:

  • ArcSDE/Enterprise Geodatabase

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement