<?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 Re: Arcpy Database Connection from Server Failing in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184030#M14163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James - It's a relative path to a server (e.g. "\\\SERVERNAME\Folder\sdeFolder"). It's valid and test.sde exists. The script and connection work fine from my desktop as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2016 19:50:07 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2016-03-03T19:50:07Z</dc:date>
    <item>
      <title>Arcpy Database Connection from Server Failing</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184027#M14160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some Python scripts on our GIS server. Suddenly, actually just this morning, the SDE connections have stopped working. The scripts use .sde files located in a folder on a shared drive to set the python workspace to a database on our database server:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;arcpy.env.workspace = os.path.join(sdeFolder,'test.sde')
testFiles = arcpy.ListFeatureClasses()
print testFiles&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The arrays are empty rather than showing all feature classes. Any idea how to fix/debug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Sarah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:21:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184027#M14160</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T09:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Database Connection from Server Failing</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184028#M14161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Likely not a python issue if it had been working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the sdeFolder variable set to?&lt;/P&gt;&lt;P&gt;Is it an actual valid path?&lt;/P&gt;&lt;P&gt;Does test.sde actual exist in that folder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd think you could do some quick checks directly in ArcCatalog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 19:42:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184028#M14161</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2016-03-03T19:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Database Connection from Server Failing</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184029#M14162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just to make sure, did you try the simple things like rebooting all the machines involved?&amp;nbsp; Just to make sure it isn't just a hiccup in your system/network.&amp;nbsp; If it worked yesterday, unless something was installed overnight, that usually fixes many things.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 19:44:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184029#M14162</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-03-03T19:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Database Connection from Server Failing</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184030#M14163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James - It's a relative path to a server (e.g. "\\\SERVERNAME\Folder\sdeFolder"). It's valid and test.sde exists. The script and connection work fine from my desktop as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 19:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184030#M14163</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-03-03T19:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Database Connection from Server Failing</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184031#M14164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm, indeed. I don't have control to reboot the server but I will contact IT to give that a try and ask if they made any changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 19:50:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184031#M14164</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-03-03T19:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Database Connection from Server Failing</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184032#M14165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the error came back, quickly. After talking more to IT they had done some updating and the connection to our database server was being attempted through an old DNS server that was gone. I don't know what they did to fix it, but they updated something and it's working again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 00:53:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184032#M14165</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-03-04T00:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Database Connection from Server Failing</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184033#M14166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The most relevant question in all "All of a sudden, it's not working" situations is "What has changed?"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, with the modern division of IT, DBA, and geodatabase admin, the answer may not be all that obvious.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then there's the counter-example -- I once had a mail server stop working when I changed the domainname, and eventually it was tracked down to the SunOS4 box being up for over 2 billion (2^31) milliseconds without reboot, and the OS bug just happened to occur while I was dorking with the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 04:53:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-database-connection-from-server-failing/m-p/184033#M14166</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2016-03-04T04:53:01Z</dc:date>
    </item>
  </channel>
</rss>

