however i received the following error: Runtime error <type 'exceptions.ValueError'>: Error opening Toolbox.
The folder where this toolbox is shared and can be seen from the ARCGIS manager. Any clue what is wrong in my code or what should i do to access this GP service. Regards Nadeem
thanx it worked for me . however when i run following code:I can see status return by the server is 4 and also in the result window of the arcmap i can see a file is created. however when result1.getOutput(0) fails showing the following error: Runtime error <type 'exceptions.RuntimeError'>: ResultObject: Error in getting output
my code is: result1= arcpy.abc.suitablelandfromparammodel(cities,"5 miles","5 miles",boundry,roads) while result1.status <4: print result1.status time.sleep(0.2) print "execution finished" result1.getMessages() arcpy.CopyFeatures_management(result1.getOutput(0),'localresult.shp')