<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RuntimeError: DescribeData: Method connectionProperties does not exist in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/runtimeerror-describedata-method/m-p/677320#M52427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to get the connection Details from sdeConnection file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;someName&amp;gt;.sde file&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;e.g. serverName, service, user, password etc.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for this I am writing following script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;desc = arcpy.Describe("C:\TEMP\sdeCon\connection.sde")&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;conPop = desc.connectionProperties()&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@ above line it get error-- &lt;/SPAN&gt;&lt;STRONG&gt;"RuntimeError: DescribeData: Method connectionProperties does not exist"&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can some one please help, why so is happening, and how can I get the connection details from SdeFile.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTE:: Even I am getting the same issue in both ArcGIS 10 and 10.1 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and I have set the path as C:\Python26\ArcGIS10.0 for ArcGIS 10 and C:\Python26\ArcGIS10.1 for ArcGIS 10.1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Dec 2013 09:03:49 GMT</pubDate>
    <dc:creator>RavindraSingh</dc:creator>
    <dc:date>2013-12-23T09:03:49Z</dc:date>
    <item>
      <title>RuntimeError: DescribeData: Method connectionProperties does not exist</title>
      <link>https://community.esri.com/t5/python-questions/runtimeerror-describedata-method/m-p/677320#M52427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to get the connection Details from sdeConnection file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;someName&amp;gt;.sde file&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;e.g. serverName, service, user, password etc.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for this I am writing following script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;desc = arcpy.Describe("C:\TEMP\sdeCon\connection.sde")&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;conPop = desc.connectionProperties()&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@ above line it get error-- &lt;/SPAN&gt;&lt;STRONG&gt;"RuntimeError: DescribeData: Method connectionProperties does not exist"&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can some one please help, why so is happening, and how can I get the connection details from SdeFile.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTE:: Even I am getting the same issue in both ArcGIS 10 and 10.1 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and I have set the path as C:\Python26\ArcGIS10.0 for ArcGIS 10 and C:\Python26\ArcGIS10.1 for ArcGIS 10.1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 09:03:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtimeerror-describedata-method/m-p/677320#M52427</guid>
      <dc:creator>RavindraSingh</dc:creator>
      <dc:date>2013-12-23T09:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: DescribeData: Method connectionProperties does not exist</title>
      <link>https://community.esri.com/t5/python-questions/runtimeerror-describedata-method/m-p/677321#M52428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ravindra,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will want to place an 'r' in front of the path to your sde connection file.&amp;nbsp; Ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;desc = arcpy.Describe(r"C:\TEMP\sdeCon\connection.sde")
conPop = desc.connectionProperties()&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at the following link for more information on setting paths:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002z0000000r000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//002z0000000r000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:33:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtimeerror-describedata-method/m-p/677321#M52428</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-12T04:33:28Z</dc:date>
    </item>
  </channel>
</rss>

