<?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 ArcGIS Server Query Issue in ArcGIS Server with JavaScript API Questions</title>
    <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/arcgis-server-query-issue/m-p/711540#M7</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are having a strange issue with ArcGIS Server doing query requests.&amp;nbsp; Requests like the following work 50% of the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://geoappext.nrcan.gc.ca/arcgis/rest/services/MMS/MW_E/MapServer/0/query?f=json&amp;amp;where=1%3D1&amp;amp;returnGeometry=true&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=*&amp;amp;outSR=3978&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript_Smelters_and_refineries00._jsonpCallback"&gt;http://geoappext.nrcan.gc.ca/arcgis/rest/services/MMS/MW_E/MapServer/0/query?f=json&amp;amp;where=1%3D1&amp;amp;returnGeometry=true&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=*&amp;amp;outSR=3978&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript_Smelters_and_refineries00._jsonpCallback&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It alternates between success and failure.&amp;nbsp; Why does it do that and what can we do to fix this?&amp;nbsp; On failure, we get the message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dojo.io.script.jsonp_dojoIoScript_Smelters_and_refineries00._jsonpCallback({"error":{"code":400,"message":"Unable to complete operation.","details":[]}});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Version: ArcGIS Server 10.1&lt;/P&gt;&lt;P&gt;Server setup: 1 server running Windows Server 2008 R2 with IIS and ArcGIS Server Web Adapter controlling 3 Windows Server 2008 R2 sharing the load for the services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Dec 2014 13:16:29 GMT</pubDate>
    <dc:creator>BrunoAvard</dc:creator>
    <dc:date>2014-12-11T13:16:29Z</dc:date>
    <item>
      <title>ArcGIS Server Query Issue</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/arcgis-server-query-issue/m-p/711540#M7</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are having a strange issue with ArcGIS Server doing query requests.&amp;nbsp; Requests like the following work 50% of the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://geoappext.nrcan.gc.ca/arcgis/rest/services/MMS/MW_E/MapServer/0/query?f=json&amp;amp;where=1%3D1&amp;amp;returnGeometry=true&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=*&amp;amp;outSR=3978&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript_Smelters_and_refineries00._jsonpCallback"&gt;http://geoappext.nrcan.gc.ca/arcgis/rest/services/MMS/MW_E/MapServer/0/query?f=json&amp;amp;where=1%3D1&amp;amp;returnGeometry=true&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;outFields=*&amp;amp;outSR=3978&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript_Smelters_and_refineries00._jsonpCallback&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It alternates between success and failure.&amp;nbsp; Why does it do that and what can we do to fix this?&amp;nbsp; On failure, we get the message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dojo.io.script.jsonp_dojoIoScript_Smelters_and_refineries00._jsonpCallback({"error":{"code":400,"message":"Unable to complete operation.","details":[]}});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Version: ArcGIS Server 10.1&lt;/P&gt;&lt;P&gt;Server setup: 1 server running Windows Server 2008 R2 with IIS and ArcGIS Server Web Adapter controlling 3 Windows Server 2008 R2 sharing the load for the services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 13:16:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/arcgis-server-query-issue/m-p/711540#M7</guid>
      <dc:creator>BrunoAvard</dc:creator>
      <dc:date>2014-12-11T13:16:29Z</dc:date>
    </item>
  </channel>
</rss>

