laptop and a wrench

Bug

ArcMap's layer SDE connection overrides the hard-coded arcpy.env.workspace and gp.workspace settings in a script tool when a different connection to the same feature class than the one in the map is referenced in the script.

Last Published: August 25, 2014 ArcGIS for Desktop
Bug ID Number NIM080914
SubmittedMay 17, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found9.3.1
Operating SystemWindows OS
Operating System VersionXP
StatusWill Not Be Addressed

Additional Information

As Designed

Workaround

Hard code the full path including the connection file to the SDE that contains the correct permissions, instead of setting the workspace.

Steps to Reproduce

Bug ID: NIM080914

Software:

  • ArcGIS for Desktop

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