Community
All Communities
Products
ArcGIS Pro
ArcGIS Survey123
ArcGIS Online
ArcGIS Enterprise
Data Management
ArcGIS Experience Builder
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Dashboards
ArcGIS Field Maps
ArcGIS Spatial Analyst
All Products Communities
Industries
Education
Water Resources
State & Local Government
Transportation
Gas and Pipeline
Water Utilities
Roads and Highways
Telecommunications
Natural Resources
Electric
Imagery and Remote Sensing Insights (IRIS) COP
All Industries Communities
Developers
Python
JavaScript Maps SDK
Native Maps SDKs
ArcGIS API for Python
ArcGIS Pro SDK
ArcObjects SDK
Developers - General
ArcGIS REST APIs and Services
ArcGIS Online Developers
Game Engine Maps SDKs
File Geodatabase API
All Developers Communities
Global
Comunidad Esri Colombia - Ecuador - Panamá
ArcGIS 開発者コミュニティ
Czech GIS
ArcNesia
Esri India
Europe
Comunidad GEOTEC
Asia Pacific
Americas
GeoDev Germany
ArcGIS Content - Esri Nederland
All Global Communities
All Communities
Developers
User Groups
Industries
Services
Community Resources
Global
Events
Learning
Networks
ArcGIS Topics
Products
View All Communities
ArcGIS Ideas
GIS Life
Community Resources
Community Help Documents
Community Blog
Community Feedback
Member Introductions
Community Ideas
All Community Resources
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Cancel
Home
:
All Communities
:
Products
:
Geoprocessing
:
Geoprocessing Questions
:
Where are stored the SDE connection files?
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Select to view content in your preferred language
Translate Now
Where are stored the SDE connection files?
Subscribe
12601
3
09-05-2012 11:35 AM
by
JoseSanchez
Frequent Contributor
09-05-2012
11:35 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Hi all
I would like to store in my C drive a SDE connection file and call it in a python scrip.
For example
MyConnection = "C:\\<mypath>\\<myconnectionfile>.sde"
How can I do that?
thanks
Tags
(3)
Tags:
_geoprocessing
analysis
gp
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
3 Replies
by
EricRice
Esri Regular Contributor
09-05-2012
01:23 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Hi Jose,
You can run
Create ArcSDE Connection File
tool.
Best,
Eric
Reply
1
Kudo
by
MathewCoyle
Honored Contributor
09-05-2012
01:23 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
SDE connection files are stored by default in your application data profile directory.
10.0
os.path.join(os.getenv("APPDATA"), r"ESRI\Desktop10.0\ArcCatalog")
You can copy these to whatever directory you would like.
Reply
0
Kudos
by
JoseSanchez
Frequent Contributor
09-11-2012
04:54 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Hi all
SDE Conenction files for ArcGIS 9.3.1 are stored on the server and in my workstation at this location:
C:\Users\<userid>\AppData\Roaming\ESRI\ArcCatalog
Reply
1
Kudo
Post Reply