<?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 Arc 10.2.1 -- Geodata Service SOEs no longer supported? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55463#M1499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am in the process of rebuilding a 10.1.1 server object extension against the latest 10.2.1 assemblies, but it appears that Geodata Services may no longer be a service type that support SOEs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Recompiling the SOE project produces the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Service Object name GeoDataServer specified in the ServiceObjectExtension element is invalid. The value should be MapServer or ImageServer&lt;/SPAN&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I traced this error through the ESRI.ArcGIS.AddIns.Server.targets file, into the &lt;/SPAN&gt;&lt;STRONG&gt;GenerateServerAddInXml&lt;/STRONG&gt;&lt;SPAN&gt; class (in the ESRI.ArcGIS.AddIns.SDK.ServerAddIns namespace), and found the following code in its &lt;/SPAN&gt;&lt;STRONG&gt;Execute&lt;/STRONG&gt;&lt;SPAN&gt; method:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
cfg.AddIn.SOType.Name = this.GetProperty(tt, obj2, "ServerObjectType");
if ((cfg.AddIn.SOType.Name != "MapServer") &amp;amp;&amp;amp; (cfg.AddIn.SOType.Name != "ImageServer"))
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new Exception(string.Format(Resources.InvalidAddInServerObject, cfg.AddIn.SOType.Name, "MapServer", "ImageServer"));
}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This validation logic is clearly limiting the "ServerObjectType" attribute values to either "MapServer" or "ImageServer".&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone from Esri comment?&amp;nbsp; Is this an oversight in the add-in validation logic, or does ArcGIS Server 10.2+ truly no longer support "GeoDataServer" SOEs?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jan 2014 22:05:25 GMT</pubDate>
    <dc:creator>ErinBrimhall</dc:creator>
    <dc:date>2014-01-22T22:05:25Z</dc:date>
    <item>
      <title>Arc 10.2.1 -- Geodata Service SOEs no longer supported?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55463#M1499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am in the process of rebuilding a 10.1.1 server object extension against the latest 10.2.1 assemblies, but it appears that Geodata Services may no longer be a service type that support SOEs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Recompiling the SOE project produces the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Service Object name GeoDataServer specified in the ServiceObjectExtension element is invalid. The value should be MapServer or ImageServer&lt;/SPAN&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I traced this error through the ESRI.ArcGIS.AddIns.Server.targets file, into the &lt;/SPAN&gt;&lt;STRONG&gt;GenerateServerAddInXml&lt;/STRONG&gt;&lt;SPAN&gt; class (in the ESRI.ArcGIS.AddIns.SDK.ServerAddIns namespace), and found the following code in its &lt;/SPAN&gt;&lt;STRONG&gt;Execute&lt;/STRONG&gt;&lt;SPAN&gt; method:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
cfg.AddIn.SOType.Name = this.GetProperty(tt, obj2, "ServerObjectType");
if ((cfg.AddIn.SOType.Name != "MapServer") &amp;amp;&amp;amp; (cfg.AddIn.SOType.Name != "ImageServer"))
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new Exception(string.Format(Resources.InvalidAddInServerObject, cfg.AddIn.SOType.Name, "MapServer", "ImageServer"));
}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This validation logic is clearly limiting the "ServerObjectType" attribute values to either "MapServer" or "ImageServer".&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone from Esri comment?&amp;nbsp; Is this an oversight in the add-in validation logic, or does ArcGIS Server 10.2+ truly no longer support "GeoDataServer" SOEs?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 22:05:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55463#M1499</guid>
      <dc:creator>ErinBrimhall</dc:creator>
      <dc:date>2014-01-22T22:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Arc 10.2.1 -- Geodata Service SOEs no longer supported?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55464#M1500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;see &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/21345-Create-Custom-ArcGIS-Server-Server-Object-Extension-Type"&gt;http://forums.arcgis.com/threads/21345-Create-Custom-ArcGIS-Server-Server-Object-Extension-Type&lt;/A&gt;&lt;SPAN&gt; .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 14:00:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55464#M1500</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2014-01-28T14:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Arc 10.2.1 -- Geodata Service SOEs no longer supported?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55465#M1501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the suggested thread, Domenico.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ultimately I went the support incident route with Esri to shed light on this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The short answer is that Geodata and Globe service SOEs are still supported by ArcGIS Server at 10.2+, but Esri is trying to "lead" people away from extending these service types by adding this validation check in the ArcObjects SDK that fails for any value but "ImageServer" and "MapServer".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I won't comment on the merits of this approach to wean developers off extending certain service types, but I can at least share my quick workaround in case anyone else runs into this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Change the "ServerObjectType" of the SOE class to either "ImageServer" or "MapServer".&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Build the project.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Open the .soe file that was generated using zip-file software of your choice (e.g. 7-zip).&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Edit the Config.xml file, changing the &amp;lt;Name&amp;gt; element value under the &amp;lt;ServerObjectType&amp;gt; element to the actual SOE type (e.g. "GeoDataServer").&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Save the Config.xml / .soe file changes and deploy as normal.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that the "ServerObjectType" value of the SOE class is just used when the Config.xml file is generated; this value doesn't actually get checked during deployment to ArcGIS Server or when the SOE is enabled or initialized on a specific service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am still experimenting but this workaround appears to work so far.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 16:46:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55465#M1501</guid>
      <dc:creator>ErinBrimhall</dc:creator>
      <dc:date>2014-01-30T16:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Arc 10.2.1 -- Geodata Service SOEs no longer supported?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55466#M1502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don�??t understand ESRI for making such a big change in a service pack, because with version 10.2 everything worked fine. It is very disrespectful to their customers who spends huge amount of money in their products. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding workaround, have you been able to debug? When I attach to Proccess in Visual Studio I get an error "The breakpoint Will not be hit Currently Have Been No symbols loaded for this document.".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 12:42:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55466#M1502</guid>
      <dc:creator>SebastienPelletier</dc:creator>
      <dc:date>2014-02-20T12:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Arc 10.2.1 -- Geodata Service SOEs no longer supported?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55467#M1503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sebastian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it is still possible to debug an SOE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message you mention could be due to attaching to the wrong ArcSOC process.&amp;nbsp; Be sure that the ArcSOC process "Type" is "Managed".&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you are running several different SOEs on multiple services, you can pinpoint which ArcSOC belongs to which services by opening Windows Task Manager and enabling the "Command Line" column.&amp;nbsp; The "Command Line" column values will include the name of the services associated with a given ArcSOC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 16:24:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55467#M1503</guid>
      <dc:creator>ErinBrimhall</dc:creator>
      <dc:date>2014-07-24T16:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Arc 10.2.1 -- Geodata Service SOEs no longer supported?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55468#M1504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To add to Erin's fine suggestions: you can add the following line of code at the point where you want to debug:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Diagnostics.Debugger.Launch();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you are attached you can stop and start your services as desired and you will remain attached to the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 19:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55468#M1504</guid>
      <dc:creator>MichaelEber</dc:creator>
      <dc:date>2014-08-13T19:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Arc 10.2.1 -- Geodata Service SOEs no longer supported?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55469#M1505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you have the correct version of ArcObject SDK installed. I ran into the same issue and it turned out that i had ArcObject SDK version 12.2.2 and Server 10.2. Once I had the same version I didn't get any error when building.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 19:18:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arc-10-2-1-geodata-service-soes-no-longer/m-p/55469#M1505</guid>
      <dc:creator>MariaKohistani</dc:creator>
      <dc:date>2015-08-31T19:18:56Z</dc:date>
    </item>
  </channel>
</rss>

