<?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: .soe file not updating after re-upload / update in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/soe-file-not-updating-after-re-upload-update/m-p/20395#M770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I figured out the issue (btw...C#/VS2010/AGS101/Windows Server 2008R2).&amp;nbsp; While developing this SOE, I was updating the .SOE on a staging server using a python script. Here are couple items I hadn't known about ags 10.1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. If you change core business logic in the SOE, you can just run the update and stop/start services which use the SOE as a capability and updates will be reflected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If you change any of the input parameter names (string values) of the RestOperation, then you NEED to restart the arcgis server process in the services directory:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;new RestOperation("execute",new string[] { "zonesPolygonFeaturesetJSON", "wkid", "idField" },new string[] { "json" },SampleOperHandler);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I basically just confused myself because I did about 30 updates to the SOE with changes to the business logic, and suddenly when I changed the name of the RestOperation input parameter, I stopped seeing any of my changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In any case, problem solved.&amp;nbsp; Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Sep 2012 01:57:22 GMT</pubDate>
    <dc:creator>BrendanCollins</dc:creator>
    <dc:date>2012-09-30T01:57:22Z</dc:date>
    <item>
      <title>.soe file not updating after re-upload / update</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/soe-file-not-updating-after-re-upload-update/m-p/20394#M769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem updating an server object extension (10.1 / .NET) once its been deployed.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It was working fine for a while, i was making updates to my code then re-uploading and deploying, but then it just stopped reflected the newest code.&amp;nbsp; I would restart the service which was using the extension each time.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTE: If i change the name of the SOE file then the updates are reflected.&amp;nbsp; But then i need to add it as a capability to my map service again which is a pain. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I feel like i need to clear some mysterious SOE cache...but I doubt that exists. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 14:41:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/soe-file-not-updating-after-re-upload-update/m-p/20394#M769</guid>
      <dc:creator>BrendanCollins</dc:creator>
      <dc:date>2012-09-25T14:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: .soe file not updating after re-upload / update</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/soe-file-not-updating-after-re-upload-update/m-p/20395#M770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I figured out the issue (btw...C#/VS2010/AGS101/Windows Server 2008R2).&amp;nbsp; While developing this SOE, I was updating the .SOE on a staging server using a python script. Here are couple items I hadn't known about ags 10.1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. If you change core business logic in the SOE, you can just run the update and stop/start services which use the SOE as a capability and updates will be reflected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If you change any of the input parameter names (string values) of the RestOperation, then you NEED to restart the arcgis server process in the services directory:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;new RestOperation("execute",new string[] { "zonesPolygonFeaturesetJSON", "wkid", "idField" },new string[] { "json" },SampleOperHandler);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I basically just confused myself because I did about 30 updates to the SOE with changes to the business logic, and suddenly when I changed the name of the RestOperation input parameter, I stopped seeing any of my changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In any case, problem solved.&amp;nbsp; Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2012 01:57:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/soe-file-not-updating-after-re-upload-update/m-p/20395#M770</guid>
      <dc:creator>BrendanCollins</dc:creator>
      <dc:date>2012-09-30T01:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: .soe file not updating after re-upload / update</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/soe-file-not-updating-after-re-upload-update/m-p/20396#M771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you saying that you needed to restart your rest service or the entire ags process?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the latter, then doesn't that kick everyone out of their applications and desktop if they are using ags services?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, is there a way to put a version number or other identifying tag on your build so you can see for certain when it has changed?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 12:09:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/soe-file-not-updating-after-re-upload-update/m-p/20396#M771</guid>
      <dc:creator>KevinGooss</dc:creator>
      <dc:date>2012-10-01T12:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: .soe file not updating after re-upload / update</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/soe-file-not-updating-after-re-upload-update/m-p/20397#M772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had the same problem: AGS kept using old code for the SOE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Even though I restarted services, deleted previous SOE's and even restarted AGS itself!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at the server-machine itself and nothing seemed wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After reading this thread I tried renaming the soe-file and it worked for me!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Although it is a really strange action...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks guys!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I created the SOE on a 10.1SP1 machine, the AGS is still 10.1 (without the first SP and running on W2008R2).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Collin Kleiboer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GisSense&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 14:35:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/soe-file-not-updating-after-re-upload-update/m-p/20397#M772</guid>
      <dc:creator>CollinKleiboer</dc:creator>
      <dc:date>2012-11-14T14:35:15Z</dc:date>
    </item>
  </channel>
</rss>

