<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ReturnImageLayer Problems in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728319#M18642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am unable to get a ResultImageLayer and came across this thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can get a GPFeatureRecordSetLayer using ResultData and add the feature geometries individually.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcServer 10.1 so it is not a pre-release problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see the map service that accompanies the geoprocessing service and the legend / symbology in this map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am doing this with the JavaScriptAPI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using Firefox I see a �??500 Internal Server Error�?� but there is no other messages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could be as simple as my call: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;gp2.getResultImageLayer(jobInfo.jobId, "Test01", imageParameters, addGPServiceResult2, errorProcessing)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;function addGPServiceResult2(gpImageLayer) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; map.addLayer(gpImageLayer);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I�??m not sure what the ParameterName �??Test01�?� should refer to although I�??ve tried ever possibility that seemed reasonable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Charles&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2011 20:05:13 GMT</pubDate>
    <dc:creator>CharlesSmith1</dc:creator>
    <dc:date>2011-05-17T20:05:13Z</dc:date>
    <item>
      <title>ReturnImageLayer Problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728312#M18635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Having some issues with adding a ReturnImageLayer to the map.&amp;nbsp; GP service creates a GPRasterDataLayer that should be added to the map through a result map service.&amp;nbsp; GP service works, and I'm able to submit a job, view the results via the REST interface, and add the result service to a map using the Javascript API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After some debugging with VS and Fiddler, it appears that the ParameterName for the ReturnImageLayer is blank, and so the request for a mapImage is missing the ParameterName, and an error is returned.&amp;nbsp; If I add the parameter name into the request by hand (.../jobs/snipjobid/results/PARAMNAME?bbox=-10872311.2728836...) it works. Anyone run into this before?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've included some of the request headers and responses.&amp;nbsp; This is using the recent 2.0 SLAPI release and a Pre-release Server 10. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;geoprocessorTask.GetResultImageLayerAsync(e.JobInfo.JobId, "Flood_Depth");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GET /ArcGIS/rest/services/ND_SLR/NuecesDelta_SLR/GPServer/SLR_NuecesDelta/jobs/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;j8913d1246db449c78436fa745f507520/results/Flood_Depth?f=json&amp;amp; HTTP/1.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;{"value":{"mapImage":{"href":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://hrigis.tamucc.edu/arcgisoutput/" rel="nofollow" target="_blank"&gt;http://hrigis.tamucc.edu/arcgisoutput/&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_ags_map106ed48be6024f549af1cef65e75dec1.png","width":400,"height":400,"extent":{"xmin":-10869299.3108114,"ymin":3224453.07514437,"xmax":-10851171.3108114,"ymax":3242581.07514437,"spatialReference":{"wkid":3857}},"scale":171287.8464}}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MapObject.Layers.Add(gpImageLayer);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GET /ArcGIS/rest/services/ND_SLR/NuecesDelta_SLR/GPServer/SLR_NuecesDelta/jobs/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;j8913d1246db449c78436fa745f507520/results/?bbox=-10872311.2728836,3216048.23047136,-10847376.2748808,3249606.21994377&amp;amp;size=1148,1545&amp;amp;format=png24&amp;amp;transparent=true&amp;amp;imageSR=102100&amp;amp;bboxSR=102100&amp;amp;f=json HTTP/1.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{"error":{"code":500,"message":"Unable to get value of param '' for Job ID 'j8913d1246db449c78436fa745f507520'. The job may not exist or it could still be executing or could have failed.","details":[]}}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 23:27:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728312#M18635</guid>
      <dc:creator>WilliamNichols</dc:creator>
      <dc:date>2010-07-13T23:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: ReturnImageLayer Problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728313#M18636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The parameterName is supposed to be given as argument of the method &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;geoprocessorTask.GetResultImageLayerAsync. I guess you initialized it correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;Which API version are you using? Are you using a proxy url?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 11:32:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728313#M18636</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-07-14T11:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: ReturnImageLayer Problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728314#M18637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The parameterName is supposed to be given as argument of the method &lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;geoprocessorTask.GetResultImageLayerAsync. I guess you initialized it correctly.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;Which API version are you using? Are you using a proxy url?&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for quick response, using the new final 2.0 (build 314?) downloaded yesterday, with server 10 pre-release.&amp;nbsp; Not using a proxyUrl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did some further testing, and copied the clipfeatures sample and looked at the requests and responses, and compared them to what I was getting.&amp;nbsp; The requests look identical, but for some reason, the paramName and dataType are missing from the response, so the ResultImageLayer Parameter Name is null, hence the "Unable to get value of param" when requesting a mapImage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;geoprocessorTask.GetResultImageLayerAsync(e.JobInfo.JobId, "Clipped_Counties");&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;GET /ArcGIS/rest/services/SamplesNET/USA_Data_ClipTools/GPServer/ClipCounties/jobs/jcadb48bc19394e60a31d307112b2a111/results/Clipped_Counties?f=json&amp;amp; HTTP/1.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;{"paramName":"Clipped_Counties","dataType":"GPFeatureRecordSetLayer","value":{"mapImage":{"href":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverapps.esri.com/arcgisoutput/_ags_map605d9c70cf844c87990be167ac8adcc3.png" rel="nofollow" target="_blank"&gt;http://serverapps.esri.com/arcgisoutput/_ags_map605d9c70cf844c87990be167ac8adcc3.png&lt;/A&gt;&lt;SPAN&gt;","width":400,"height":400,"extent":{"xmin":-143.249128919861,"ymin":-8.24912891986064,"xmax":-56.7508710801394,"ymax":78.2491289198606,"spatialReference":{"wkid":4269}},"scale":90880095.9836899}}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;geoprocessorTask.GetResultImageLayerAsync(e.JobInfo.JobId, "Flood_Depth");&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;GET /ArcGIS/rest/services/ND_SLR/NuecesDelta_SLR/GPServer/SLR_NuecesDelta/jobs/j8913d1246db449c78436fa745f507520/results/Flood_Depth?f=json&amp;amp; HTTP/1.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;{"value":{"mapImage":{"href":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://hrigis.tamucc.edu/arcgisoutput/_ags_map106ed48be6024f549af1cef65e75dec1.png" rel="nofollow" target="_blank"&gt;http://hrigis.tamucc.edu/arcgisoutput/_ags_map106ed48be6024f549af1cef65e75dec1.png&lt;/A&gt;&lt;SPAN&gt;","width":400,"height":400,"extent":{"xmin":-10869299.3108114,"ymin":3224453.07514437,"xmax":-10851171.3108114,"ymax":3242581.07514437,"spatialReference":{"wkid":3857}},"scale":171287.8464}}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 12:30:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728314#M18637</guid>
      <dc:creator>WilliamNichols</dc:creator>
      <dc:date>2010-07-14T12:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: ReturnImageLayer Problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728315#M18638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Strange. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the problem is coming from the server and not from the SL API since the REST API returns an incomplete response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the response of the last request concerning the status of your job?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the sample it's :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;GET /ArcGIS/rest/services/SamplesNET/USA_Data_ClipTools/GPServer/ClipCounties/jobs/j3be38a36fe45408ba4da466d98743295/?f=json&amp;amp;_ts=634147921537343750 HTTP/1.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;"jobId" : "j3be38a36fe45408ba4da466d98743295", &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;"jobStatus" : "esriJobSucceeded", &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;"results" : {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;"output_zip" : {"paramUrl" : "results/output_zip"}, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;"Clipped_Counties" : {"paramUrl" : "results/Clipped_Counties"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;}, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;"inputs" : {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;"Input_Features" : {"paramUrl" : "inputs/Input_Features"}, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;"Linear_unit" : {"paramUrl" : "inputs/Linear_unit"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;}, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;"messages" : [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;{"type" : "esriJobMessageTypeInformative", "description" : "Submitted."}, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;{"type" : "esriJobMessageTypeInformative", "description" : "Executing..."}, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;{"type" : "esriJobMessageTypeInformative", "description" : "Succeeded."}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size:2;"&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 10:10:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728315#M18638</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-07-15T10:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: ReturnImageLayer Problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728316#M18639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Response of last request on job status&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GET /ArcGIS/rest/services/ND_SLR/NuecesDelta_SLR/GPServer/SLR_NuecesDelta/jobs/j100769e6ce284eb38d252f4cadabf61a/?f=json&amp;amp;_ts=634147878376562500 HTTP/1.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"jobId":"j100769e6ce284eb38d252f4cadabf61a",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"jobStatus":"esriJobSucceeded",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"results":{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Flood_Depth":{"paramUrl":"results/Flood_Depth"}},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"inputs":{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"FloodLevelInput":{"paramUrl":"inputs/FloodLevelInput"}},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"messages":[&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"type":"esriJobMessageTypeInformative","description":"Submitted."},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"type":"esriJobMessageTypeInformative","description":"Executing..."},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"type":"esriJobMessageTypeInformative","description":"Succeeded."}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It does appear to be a problem with the response from the REST API.&amp;nbsp; Thought it might be a problem with the SL API, since I tried the same operation using the javascript API and got it to work.&amp;nbsp; It appears the JSAPI getResultImageLayer works a bit differently, and and doesn't actually make a call to the server, only when the layer is added to the map does it request a mapImage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll post this in the REST API forum, but if you can think of a workaround it would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 16:29:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728316#M18639</guid>
      <dc:creator>WilliamNichols</dc:creator>
      <dc:date>2010-07-15T16:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: ReturnImageLayer Problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728317#M18640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A resolution for anyone else who stumbles across this issue, apparently is was an issue with Server 10 Pre Release.&amp;nbsp; A reformat and install of the official Server 10 fixed the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jul 2010 19:50:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728317#M18640</guid>
      <dc:creator>WilliamNichols</dc:creator>
      <dc:date>2010-07-16T19:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: ReturnImageLayer Problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728318#M18641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am glad you eventually made it working. You are right it was likely an issue wit pre release version.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 08:05:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728318#M18641</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-07-19T08:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: ReturnImageLayer Problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728319#M18642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am unable to get a ResultImageLayer and came across this thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can get a GPFeatureRecordSetLayer using ResultData and add the feature geometries individually.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcServer 10.1 so it is not a pre-release problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see the map service that accompanies the geoprocessing service and the legend / symbology in this map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am doing this with the JavaScriptAPI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using Firefox I see a �??500 Internal Server Error�?� but there is no other messages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could be as simple as my call: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;gp2.getResultImageLayer(jobInfo.jobId, "Test01", imageParameters, addGPServiceResult2, errorProcessing)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;function addGPServiceResult2(gpImageLayer) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; map.addLayer(gpImageLayer);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I�??m not sure what the ParameterName �??Test01�?� should refer to although I�??ve tried ever possibility that seemed reasonable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Charles&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 20:05:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728319#M18642</guid>
      <dc:creator>CharlesSmith1</dc:creator>
      <dc:date>2011-05-17T20:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: ReturnImageLayer Problems</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728320#M18643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Charles,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I�??m not sure what the ParameterName �??Test01�?� should refer to although I�??ve tried ever possibility that seemed reasonable.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To know the parameter names of a GP service, you can make a web request to the GP URL, you will get the infos.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, with this service : &lt;/SPAN&gt;&lt;A href="http://serverapps.esri.com/ArcGIS/rest/services/SamplesNET/USA_Data_ClipTools/GPServer/ClipCounties"&gt;http://serverapps.esri.com/ArcGIS/rest/services/SamplesNET/USA_Data_ClipTools/GPServer/ClipCounties&lt;/A&gt;&lt;SPAN&gt; the output parameter is called 'Clipped_Counties'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also check whether your service is synchronous or asynchronous, because the way to call it depends on that model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;gp2.getResultImageLayer(jobInfo.jobId, "Test01", imageParameters, addGPServiceResult2, errorProcessing)&lt;BR /&gt; &lt;BR /&gt;function addGPServiceResult2(gpImageLayer) {&lt;BR /&gt;map.addLayer(gpImageLayer);&lt;BR /&gt;}&lt;BR /&gt; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like it's not Silverlight code:). I suggest you post again your question in the &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/forums/15-ArcGIS-API-for-JavaScript"&gt;JS forum&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 07:37:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/returnimagelayer-problems/m-p/728320#M18643</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-05-18T07:37:27Z</dc:date>
    </item>
  </channel>
</rss>

