Unable to fetch the results from GP Service Toolbox

Discussion created by SHarihar-esristaff Employee on Dec 5, 2012
Latest reply on Dec 5, 2012 by
Ok I am really confused. I can see the output of the result from geoprocessing tool. But why am I not able to add it to the map. As you can see the result returns all the attribute values.
gp.getResultImageLayer(jobInfo.jobId,"final_shp", imageParams, function(gpLayer) {

This is my application and you will see the job id in the console. If you are not able to view the link I have added for result change the job id with the new one (in the console) that you ran and you will see the results. Executing the model, once you submit takes upto 20-25 seconds.

What could be the reason? I am using ArcServer 10.