failed to create service

3634
0
02-13-2015 05:00 AM
rossellamolinaro
New Contributor

Hello there,

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

 

import os,sys

import arcpy

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")

arcpy.SetParameter(3,out_table)

0 Kudos
0 Replies