<?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 UploadServiceDefinition fails:&amp;nbsp; &amp;amp;quot;ERROR: unable to connect to publishing tool&amp;amp;quot; in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/uploadservicedefinition-fails-nbsp-amp-quot-error/m-p/174267#M6902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created a 5 line python script tool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
import arcpy
import sys

input_value = arcpy.GetParameterAsText(0)
output_message = "Hello World " + input_value

arcpy.SetParameterAsText(1, output_message )
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran it and got a result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I right-clicked/shared the result and said "publish as a service", selected the server, filled in the required description fields&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I pushed publish and receive:&amp;nbsp; "ERROR: unable to connect to publishing tool. Verify the service is up and running"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked, and the service is indeed up and running and there are no log files on the server to indicate that any attempt was made to do anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is greatly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brad&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2013 17:32:06 GMT</pubDate>
    <dc:creator>bradeckrose</dc:creator>
    <dc:date>2013-02-04T17:32:06Z</dc:date>
    <item>
      <title>UploadServiceDefinition fails:  &amp;quot;ERROR: unable to connect to publishing tool&amp;quot;</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/uploadservicedefinition-fails-nbsp-amp-quot-error/m-p/174267#M6902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created a 5 line python script tool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
import arcpy
import sys

input_value = arcpy.GetParameterAsText(0)
output_message = "Hello World " + input_value

arcpy.SetParameterAsText(1, output_message )
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran it and got a result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I right-clicked/shared the result and said "publish as a service", selected the server, filled in the required description fields&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I pushed publish and receive:&amp;nbsp; "ERROR: unable to connect to publishing tool. Verify the service is up and running"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked, and the service is indeed up and running and there are no log files on the server to indicate that any attempt was made to do anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is greatly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brad&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 17:32:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/uploadservicedefinition-fails-nbsp-amp-quot-error/m-p/174267#M6902</guid>
      <dc:creator>bradeckrose</dc:creator>
      <dc:date>2013-02-04T17:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: UploadServiceDefinition fails:  "ERROR: unable to connect to publishing tool"</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/uploadservicedefinition-fails-nbsp-amp-quot-error/m-p/174268#M6903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I assume you can publish a service normally?&amp;nbsp; The only thing I can think of is to make sure the user the script runs under has permissions to publish a service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tyson&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 22:17:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/uploadservicedefinition-fails-nbsp-amp-quot-error/m-p/174268#M6903</guid>
      <dc:creator>TysonHaverkort</dc:creator>
      <dc:date>2013-02-07T22:17:05Z</dc:date>
    </item>
  </channel>
</rss>

