<?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: QueryTask Error on Joined Layer in Map Service in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querytask-error-on-joined-layer-in-map-service/m-p/283398#M1415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Scott,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/content/nimbus-bug?bugID=TklNMDQ1MjU5"&gt;http://resources.arcgis.com/content/nimbus-bug?bugID=TklNMDQ1MjU5&lt;/A&gt;&lt;SPAN&gt; for information on&amp;nbsp; related bug report. This is marked as non reproduced in 10.0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Feb 2011 16:07:16 GMT</pubDate>
    <dc:creator>RaviNarayanan</dc:creator>
    <dc:date>2011-02-14T16:07:16Z</dc:date>
    <item>
      <title>QueryTask Error on Joined Layer in Map Service</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querytask-error-on-joined-layer-in-map-service/m-p/283396#M1413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a map service with a layer that is joined to an external SDE database. When I try to perform a query through the services directory I get the error message, "Unable to perform query. Please check your parameters." The server logs two error messages, "General GeoDatabase Error." &amp;amp; "Method failed.HRESULT = 0x80070057 : The parameter is incorrect. ." &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my test:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A amp="amp" barrett="BARRETT" bill="BILL" corp="CORP" href="http://172.16.17.48/ArcGIS/rest/services/OilGasMining/MapServer/0/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;where=COMPANY_NAME+%3D+" returngeometry="true&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html'"&gt;http://172.16.17.48/ArcGIS/rest/services/OilGasMining/MapServer/0/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;where=COMPANY_NAME+%3D+'BILL+BARRETT+CORP'&amp;amp;returnGeometry=true&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just wondering if anyone else has had this problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 21:53:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querytask-error-on-joined-layer-in-map-service/m-p/283396#M1413</guid>
      <dc:creator>ScottDavis</dc:creator>
      <dc:date>2011-02-09T21:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask Error on Joined Layer in Map Service</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querytask-error-on-joined-layer-in-map-service/m-p/283397#M1414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you able to execute an identify on this layer and get the fields from the joined table?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the error messages, this sounds like a failure in the geodatabase. Please contact ESRI Support and submit a request to investigate this further.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 17:13:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querytask-error-on-joined-layer-in-map-service/m-p/283397#M1414</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2011-02-10T17:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask Error on Joined Layer in Map Service</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querytask-error-on-joined-layer-in-map-service/m-p/283398#M1415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Scott,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/content/nimbus-bug?bugID=TklNMDQ1MjU5"&gt;http://resources.arcgis.com/content/nimbus-bug?bugID=TklNMDQ1MjU5&lt;/A&gt;&lt;SPAN&gt; for information on&amp;nbsp; related bug report. This is marked as non reproduced in 10.0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 16:07:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querytask-error-on-joined-layer-in-map-service/m-p/283398#M1415</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2011-02-14T16:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask Error on Joined Layer in Map Service</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querytask-error-on-joined-layer-in-map-service/m-p/283399#M1416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know this is an old post.&amp;nbsp; I got the same error with ArcGIS Server 10 and PostgreSQL when joining a feature class to an SDE table.&amp;nbsp; The solution turned out to be that when doing a join, the column names are prepended with the original table names, so my columns look like table1.field1 and table2.field2 instead of just field1 and field2.&amp;nbsp; In the case of postgresql, I actually needed to append my database and schema names, so the outfields look like database.schema.table1.field1, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just wanted to share in case anybody else stumbles on this post like I did.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 15:16:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querytask-error-on-joined-layer-in-map-service/m-p/283399#M1416</guid>
      <dc:creator>JacobLesser</dc:creator>
      <dc:date>2012-03-27T15:16:26Z</dc:date>
    </item>
  </channel>
</rss>

