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

356
1
02-04-2013 09:32 AM
bradeckrose
New Contributor
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!

Brad
Tags (2)
0 Kudos
1 Reply
TysonHaverkort
New Contributor III
I assume you can publish a service normally?  The only thing I can think of is to make sure the user the script runs under has permissions to publish a service.

Good luck!
Tyson
0 Kudos