<?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 Best way to return spatial query reuslts in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/best-way-to-return-spatial-query-reuslts/m-p/135959#M3524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a non-gis developer needs to be able to get the results of a simple spatial query, which will be used in an ASP.NET application.&amp;nbsp; The obvious solution was to create a service that performs the query, which she would then consume in her app.&amp;nbsp; Using Visual Studio I created a WCF service that did the job, but after publishing it I get this error: "Could not load file or assembly 'ESRI.ArcGIS.Display' or one of its dependencies. An attempt was made to load a program with an incorrect format".&amp;nbsp; I noticed that my arcobjects code throws a bunch of warnings when the processor target is set to "any cpu", no warnings if I change it to "x86".&amp;nbsp; I've read that WCF services can't target x86.&amp;nbsp; I'm unsure if I should continue pursuing this solution or I should change my approach.&amp;nbsp; I'm still new to the api, so any help is more than appreciated.&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2013 20:11:03 GMT</pubDate>
    <dc:creator>olivermcrobbie1</dc:creator>
    <dc:date>2013-07-17T20:11:03Z</dc:date>
    <item>
      <title>Best way to return spatial query reuslts</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/best-way-to-return-spatial-query-reuslts/m-p/135959#M3524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a non-gis developer needs to be able to get the results of a simple spatial query, which will be used in an ASP.NET application.&amp;nbsp; The obvious solution was to create a service that performs the query, which she would then consume in her app.&amp;nbsp; Using Visual Studio I created a WCF service that did the job, but after publishing it I get this error: "Could not load file or assembly 'ESRI.ArcGIS.Display' or one of its dependencies. An attempt was made to load a program with an incorrect format".&amp;nbsp; I noticed that my arcobjects code throws a bunch of warnings when the processor target is set to "any cpu", no warnings if I change it to "x86".&amp;nbsp; I've read that WCF services can't target x86.&amp;nbsp; I'm unsure if I should continue pursuing this solution or I should change my approach.&amp;nbsp; I'm still new to the api, so any help is more than appreciated.&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 20:11:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/best-way-to-return-spatial-query-reuslts/m-p/135959#M3524</guid>
      <dc:creator>olivermcrobbie1</dc:creator>
      <dc:date>2013-07-17T20:11:03Z</dc:date>
    </item>
  </channel>
</rss>

