Does anyone have had some problems in publishing a geoprocessing service from the result windows in ArcMap?
I've successfully run the following script executing the PointDistance tool, then I've tried to publish it but
the creation of the service failed with the 001369 generic error.
Do you have any suggestion regarding this problem?
Thanks for any help
from arcpy import env
#arcpy.PointDistance_analysis(in_features, near_features, out_table, search_radius)
InFc_Osp = arcpy.GetParameter(0)
NearFc_Muni = arcpy.GetParameter(1)
search_radius = arcpy.GetParameterAsText(2)
out_table = u'%scratchGDB%\\PointDistTable'
arcpy.PointDistance_analysis(InFc_Osp, NearFc_Muni, out_table, search_radius+" Kilometers")