KamleshPatel

Output as textfile empty from gpservice

Discussion created by KamleshPatel on Jul 13, 2011
using python script to analyze map for MSD using arcpy function AnalyzeForMSD() . results are written in text file. Mxd file is input parameter as datatype file.  Textfile is output parameter as datatype file and output path is %scratchworkspace%\MapResult.txt . This tool is working perfectly on desktop but it is not working when published as geoprocessing service. I am able to see mxd file under scratch workspace in job directory but not able to see text file. In result dialogbox  output MapResult.txt empty/ and tool failed in message. I have tried to create textfile as output without using the function but not able to see output under server Job directory.

Thanks,
Kamlesh

Outcomes