UploadServiceDefinition fails:  "ERROR: unable to connect to publishing tool"

Discussion created by blekros on Feb 4, 2013
Latest reply on Feb 7, 2013 by thaverkort
I created a 5 line python script tool:

import arcpy
import sys

input_value = arcpy.GetParameterAsText(0)
output_message = "Hello World " + input_value

arcpy.SetParameterAsText(1, output_message )

I ran it and got a result.
I right-clicked/shared the result and said "publish as a service", selected the server, filled in the required description fields
I pushed publish and receive:  "ERROR: unable to connect to publishing tool. Verify the service is up and running"

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.

Any help is greatly appreciated!