<?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 Check Geoprocessing Service SDE Connection Status in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/check-geoprocessing-service-sde-connection-status/m-p/333835#M26020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a nutshell: Is there a way to check if a geoprocessing service has been disconnected from an SDE, and then reconnect it if so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to work around this bug: &lt;STRONG&gt;NIM072515&lt;/STRONG&gt; - 'Provide option to enable schema locking property for a geoprocessing service.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a geoprocessing service published to the server (Data Extract) which puts a lock on the SDEs from which data is extracted (no option to disable schema locking like there is for a map service). This schema lock means that I cannot add/delete fields and change other 'schema' aspects of a feature without right-clicking the SDE in ArcCatalog --&amp;gt; Administration --&amp;gt; Administer Geodatabase and deleting the server connections causing the schema lock from the geoprocessing service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I do that, the Data Extract task runs from the web map but returns empty, no data. I believe because it was disconnected from the SDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do in my new data download script using arcpy is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Before download, check if the service has been disconnected from the SDE&lt;/LI&gt;&lt;LI&gt;Reconnect to SDE when necessary&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any tips!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Aug 2015 15:35:24 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2015-08-13T15:35:24Z</dc:date>
    <item>
      <title>Check Geoprocessing Service SDE Connection Status</title>
      <link>https://community.esri.com/t5/python-questions/check-geoprocessing-service-sde-connection-status/m-p/333835#M26020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a nutshell: Is there a way to check if a geoprocessing service has been disconnected from an SDE, and then reconnect it if so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to work around this bug: &lt;STRONG&gt;NIM072515&lt;/STRONG&gt; - 'Provide option to enable schema locking property for a geoprocessing service.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a geoprocessing service published to the server (Data Extract) which puts a lock on the SDEs from which data is extracted (no option to disable schema locking like there is for a map service). This schema lock means that I cannot add/delete fields and change other 'schema' aspects of a feature without right-clicking the SDE in ArcCatalog --&amp;gt; Administration --&amp;gt; Administer Geodatabase and deleting the server connections causing the schema lock from the geoprocessing service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I do that, the Data Extract task runs from the web map but returns empty, no data. I believe because it was disconnected from the SDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do in my new data download script using arcpy is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Before download, check if the service has been disconnected from the SDE&lt;/LI&gt;&lt;LI&gt;Reconnect to SDE when necessary&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any tips!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 15:35:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/check-geoprocessing-service-sde-connection-status/m-p/333835#M26020</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-08-13T15:35:24Z</dc:date>
    </item>
  </channel>
</rss>

