<?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 IdentifyTask stopped working after upgrade to Server 9.3.1 in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/identifytask-stopped-working-after-upgrade-to/m-p/592184#M13259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, I know I'm a bit behind the times...I upgraded ArcGIS Server from 9.3 to 9.3.1, and I'm using the 1.2 version of the Flex API. My IdentifyTask request now fails every time with a 500 error code and a message: "Unable to perform identify. Please check your parameters.".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran the app in debug mode through FlexBuilder and took the identify parameter values and entered them in the "identify" web page of my map services; that query worked, so I know it's not a problem with the map service. In addition, I have another app based on the SFV, and the Identify widget has stopped working there, also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anybody seen this before? Do I need to upgrade to the Flex 1.3 API?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Oct 2010 11:55:52 GMT</pubDate>
    <dc:creator>TyroneLigon</dc:creator>
    <dc:date>2010-10-22T11:55:52Z</dc:date>
    <item>
      <title>IdentifyTask stopped working after upgrade to Server 9.3.1</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/identifytask-stopped-working-after-upgrade-to/m-p/592184#M13259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, I know I'm a bit behind the times...I upgraded ArcGIS Server from 9.3 to 9.3.1, and I'm using the 1.2 version of the Flex API. My IdentifyTask request now fails every time with a 500 error code and a message: "Unable to perform identify. Please check your parameters.".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran the app in debug mode through FlexBuilder and took the identify parameter values and entered them in the "identify" web page of my map services; that query worked, so I know it's not a problem with the map service. In addition, I have another app based on the SFV, and the Identify widget has stopped working there, also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anybody seen this before? Do I need to upgrade to the Flex 1.3 API?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 11:55:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/identifytask-stopped-working-after-upgrade-to/m-p/592184#M13259</guid>
      <dc:creator>TyroneLigon</dc:creator>
      <dc:date>2010-10-22T11:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: IdentifyTask stopped working after upgrade to Server 9.3.1</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/identifytask-stopped-working-after-upgrade-to/m-p/592185#M13260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am running ESRI Flex API .1.2 on a AGS 10 server, so 9.3.1 should not be a problem.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would "check your paramaters" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a code dump of an identify params I am using that works against a 9.3.1 and 10 AGS map service&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
this._identifyParams = new IdentifyParameters();
this._identifyParams.layerOption = this.layerOption;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
this._identifyParams.returnGeometry = true;&amp;nbsp; 
this._identifyParams.layerIds = Application.application.tocContainerControl.toc.GetVisibleLayerIDsInScaleRange();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
this._identifyParams.tolerance = 3;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
this._identifyParams.width = this._map.width;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
this._identifyParams.height = this._map.height;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
this._identifyParams.geometry = point;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
this._identifyParams.mapExtent = this._map.extent;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
this._identifyParams.spatialReference = this._map.spatialReference;&amp;nbsp;&amp;nbsp; 

&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i had to guess your probably missing the spatial reference param.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Drew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:25:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/identifytask-stopped-working-after-upgrade-to/m-p/592185#M13260</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2021-12-12T01:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: IdentifyTask stopped working after upgrade to Server 9.3.1</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/identifytask-stopped-working-after-upgrade-to/m-p/592186#M13261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Drew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have every one of those parameters in my code. I see you're running AGS v. 10; did your code work in AGS 9.3.1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another thing - instead of using IdentifyTask I tried constructing a URL to send to Server. If I added "f=json" I got the same error; if I took that parameter out of the URL I got HTML back, which is the default. If it was just the identify info I'd just use that response, but unfortunately it includes the form from the ArcGIS Services Directory layer identify page. This is detailed in the following ticket:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2421&amp;amp;t=272512"&gt;http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2421&amp;amp;t=272512&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 15:14:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/identifytask-stopped-working-after-upgrade-to/m-p/592186#M13261</guid>
      <dc:creator>TyroneLigon</dc:creator>
      <dc:date>2010-10-22T15:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: IdentifyTask stopped working after upgrade to Server 9.3.1</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/identifytask-stopped-working-after-upgrade-to/m-p/592187#M13262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tyrone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used the same code on 9.3, 9.3.1 and 10 without any problems..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you examined the params being sent to the server using Firebug?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You might find your error digging down there.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Drew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 15:49:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/identifytask-stopped-working-after-upgrade-to/m-p/592187#M13262</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2010-10-22T15:49:27Z</dc:date>
    </item>
  </channel>
</rss>

