<?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: data source is not registered with the server in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/data-source-is-not-registered-with-the-server/m-p/696190#M23059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I too was having this exact problem, and I found it related to the string split I was doing.&amp;nbsp; Try replacing your .split call with os.path.split.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kelley&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2014 17:21:39 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2014-03-25T17:21:39Z</dc:date>
    <item>
      <title>data source is not registered with the server</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/data-source-is-not-registered-with-the-server/m-p/696189#M23058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I am publishing my own python script as a geoprocessing service, it keeps telling me the data source is used by the script is not registered with the server: \...\default.gdb. The strange part is that my script is not using default.gdb at all. Attached is the python script. It searches on multiple layers and wraps all the layers in one zipped folder. Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 20:19:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/data-source-is-not-registered-with-the-server/m-p/696189#M23058</guid>
      <dc:creator>dancheng</dc:creator>
      <dc:date>2014-03-24T20:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: data source is not registered with the server</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/data-source-is-not-registered-with-the-server/m-p/696190#M23059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I too was having this exact problem, and I found it related to the string split I was doing.&amp;nbsp; Try replacing your .split call with os.path.split.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kelley&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 17:21:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/data-source-is-not-registered-with-the-server/m-p/696190#M23059</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-03-25T17:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: data source is not registered with the server</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/data-source-is-not-registered-with-the-server/m-p/696191#M23060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kelley,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I figured it out this morning too, its due to the split function. So I did this to fix it. Thanks!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;outputFC = output+layer.split('\\')[-1]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Select_analysis(layer, outputFC, SQLs[Layers_To_Search.index(layer)])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I too was having this exact problem, and I found it related to the string split I was doing.&amp;nbsp; Try replacing your .split call with os.path.split.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Kelley&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 19:02:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/data-source-is-not-registered-with-the-server/m-p/696191#M23060</guid>
      <dc:creator>dancheng</dc:creator>
      <dc:date>2014-03-25T19:02:27Z</dc:date>
    </item>
  </channel>
</rss>

