<?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: ExportSubnetwork error : A subnetwork controller cannot be purged before disabled in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1620319#M5307</link>
    <description>&lt;P&gt;After deleting and recreating the subnetwork, I only have one row in the subnet table, and I was able to successfully export it with acknowledgment.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreloupDucroix_0-1748930051407.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133651i7F81147E465B4592/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PierreloupDucroix_0-1748930051407.png" alt="PierreloupDucroix_0-1748930051407.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The case is still open with Esri France support, hopefully you will find the root cause and solve it.&lt;/P&gt;&lt;P&gt;Thanks, Robert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jun 2025 05:56:01 GMT</pubDate>
    <dc:creator>PierreloupDucroix</dc:creator>
    <dc:date>2025-06-03T05:56:01Z</dc:date>
    <item>
      <title>ExportSubnetwork error : A subnetwork controller cannot be purged before disabled</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1618754#M5294</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I'm getting this error when trying to export a subnetwork from the ArcGIS API for Python.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A subnetwork controller cannot be purged before disabled.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;It only occurs for one specific subnetwork that behaves normally in ArcGIS Pro (not dirty, can be modified and validated...)&lt;/P&gt;&lt;P&gt;Exporting this subnetwork is working as expected when done in ArcGIS Pro with the toolbox, with arcpy.un.ExportSubnetwork and even in the REST API.&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 00:37:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1618754#M5294</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2025-05-28T00:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: ExportSubnetwork error : A subnetwork controller cannot be purged before disabled</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1618886#M5298</link>
      <description>&lt;P&gt;Can you include a snippet of your export from the ArcGIS API for Python, along with a screenshot of the same export using a GP tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bonus point if you can include a screenshot of the corresponding rows from the subnetworks table that show the values of the Subnetwork Name, Status (ISDIRTY), and "Is deleted" columns for the subnetwork in question.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertKrisher_0-1748444358061.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133344i01F0B64D29942720/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobertKrisher_0-1748444358061.png" alt="RobertKrisher_0-1748444358061.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 14:59:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1618886#M5298</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2025-05-28T14:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: ExportSubnetwork error : A subnetwork controller cannot be purged before disabled</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1619114#M5299</link>
      <description>&lt;P&gt;So, after several tests, it appears that the error only occurs when the export_acknowledged parameter is True. I have been able to reproduce with arcpy and GPTool :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.un.ExportSubnetwork(
    in_utility_network="EEC Utility Network",
    domain_network="Electric",
    tier="Réseau HTA",
    subnetwork_name="GDN-837-07",
    export_acknowledged="ACKNOWLEDGE",
    out_json_file=r"C:\Temp\GDN-837-07.json",
    condition_barriers=None,
    function_barriers=None,
    include_barriers="INCLUDE_BARRIERS",
    traversability_scope="BOTH_JUNCTIONS_AND_EDGES",
    propagators=None,
    include_geometry="INCLUDE_GEOMETRY",
    result_types="CONTAINMENT_AND_ATTACHMENT_ASSOCIATIONS;CONNECTIVITY;FEATURES",
    result_network_attributes=None,
    result_fields=None,
    include_domain_descriptions="INCLUDE_DOMAIN_DESCRIPTIONS"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error : &lt;A href="https://pro.arcgis.com/en/pro-app/3.3/tool-reference/tool-errors-and-warnings/160001-170000/tool-errors-and-warnings-160526-160550-160528.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/3.3/tool-reference/tool-errors-and-warnings/160001-170000/tool-errors-and-warnings-160526-160550-160528.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When setting&amp;nbsp;export_acknowledged="NO_ACKNOWLEDGE" it works.&lt;/P&gt;&lt;P&gt;Once again this is the only subnetwork over 2000 that behave like this.&lt;/P&gt;&lt;P&gt;Here is the bonus subnet table where you can see there have been several subnetworks with the same name and controller, but only one is now active and clean :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreloupDucroix_0-1748467784857.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133405i0FEF3A1FC8B6A747/image-size/large?v=v2&amp;amp;px=999" role="button" title="PierreloupDucroix_0-1748467784857.png" alt="PierreloupDucroix_0-1748467784857.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Will you give me two kudos for that &lt;span class="lia-unicode-emoji" title=":grinning_squinting_face:"&gt;😆&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 21:36:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1619114#M5299</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2025-05-28T21:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: ExportSubnetwork error : A subnetwork controller cannot be purged before disabled</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1619396#M5300</link>
      <description>&lt;P&gt;Strange question, what happens if you turn on export w/acknowledgement but don't include the geometry? I gave you one Kudo, so someone else from the community will have to give you the second &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 19:01:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1619396#M5300</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2025-05-29T19:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: ExportSubnetwork error : A subnetwork controller cannot be purged before disabled</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1619510#M5301</link>
      <description>&lt;P&gt;Same error.&lt;/P&gt;&lt;P&gt;Here is the simplest code sample that gives me the error :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.un.ExportSubnetwork(
    in_utility_network="EEC Utility Network",
    domain_network="Electric",
    tier="Réseau HTA",
    subnetwork_name="GDN-837-07",
    export_acknowledged="ACKNOWLEDGE",
    out_json_file=r"C:\Temp\GDN-837-07.json",
    condition_barriers=None,
    function_barriers=None,
    include_barriers="INCLUDE_BARRIERS",
    traversability_scope="BOTH_JUNCTIONS_AND_EDGES",
    propagators=None,
    include_geometry="EXCLUDE_GEOMETRY",
    result_types=None,
    result_network_attributes=None,
    result_fields=None,
    include_domain_descriptions="EXCLUDE_DOMAIN_DESCRIPTIONS"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 23:32:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1619510#M5301</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2025-05-29T23:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: ExportSubnetwork error : A subnetwork controller cannot be purged before disabled</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1619526#M5302</link>
      <description>&lt;P&gt;If you haven't already, please log an issue for this. I've been unable to reproduce it on my end, but I suspect I know what is causing it and it may be a bug. What's happening is the utility network is seeing the active controller before the deleted controller and it thinks something has gone wrong. The only way I could do this was through some creative versioned editing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertKrisher_0-1748574775072.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133491iE59E6A9F026CB742/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobertKrisher_0-1748574775072.png" alt="RobertKrisher_0-1748574775072.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only workaround I can think of is to delete and purge the currently active subnetwork controller then recreating it.&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 03:13:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1619526#M5302</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2025-05-30T03:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: ExportSubnetwork error : A subnetwork controller cannot be purged before disabled</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1619533#M5303</link>
      <description>&lt;P&gt;Thanks, Robert&lt;/P&gt;&lt;P&gt;I just logged a case and added you as a contact.&lt;/P&gt;&lt;P&gt;We will try to delete the subnetwork and recreate it.&lt;/P&gt;&lt;P&gt;When you say "purge", what do you mean ?&lt;/P&gt;&lt;P&gt;My process to recreate a subnetwork is:&lt;/P&gt;&lt;P&gt;- remove the device's subnetwork controller state&lt;/P&gt;&lt;P&gt;- update the subnetwork so that it is marked as deleted&lt;/P&gt;&lt;P&gt;- export it with acknowledgement&lt;/P&gt;&lt;P&gt;- re-enable the subnetwork controller with the same subnetwork name&lt;/P&gt;&lt;P&gt;- finally update the new subnetwork&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 05:27:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1619533#M5303</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2025-05-30T05:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: ExportSubnetwork error : A subnetwork controller cannot be purged before disabled</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1619737#M5306</link>
      <description>&lt;P&gt;Purge isn't an officially recognized word in this context, so you won't find it in any of the online help. When I use this word I'm referring to the final export subnetwork with acknowledgement that removes all references to a subnetwork from the subnetworks table.&lt;/P&gt;&lt;P&gt;It can be confusing to talk about deleting a subnetwork, since it must first be marked as deleted and processed before it can be truly deleted.&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 19:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1619737#M5306</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2025-05-30T19:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: ExportSubnetwork error : A subnetwork controller cannot be purged before disabled</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1620319#M5307</link>
      <description>&lt;P&gt;After deleting and recreating the subnetwork, I only have one row in the subnet table, and I was able to successfully export it with acknowledgment.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreloupDucroix_0-1748930051407.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133651i7F81147E465B4592/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PierreloupDucroix_0-1748930051407.png" alt="PierreloupDucroix_0-1748930051407.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The case is still open with Esri France support, hopefully you will find the root cause and solve it.&lt;/P&gt;&lt;P&gt;Thanks, Robert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 05:56:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1620319#M5307</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2025-06-03T05:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: ExportSubnetwork error : A subnetwork controller cannot be purged before disabled</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1659455#M5892</link>
      <description>&lt;P&gt;From the future: I had this problem on two of my subnetworks. The controllers that had Is deleted = True were not being purged from the Subnetworks table (I think this was the issue). I could use Update Subnetwork when Manage isdirty was turned on (not turned off). I could not use Export Subnetwork when Set export acknowledged was turned on.&lt;/P&gt;&lt;P&gt;The solution I found was to completely delete the subnetworks and rebuild them, aka delete all the controllers, update subnetwork, export subnetwork, readd controllers, update subnetwork, export subnetwork. Not sure if all those steps are necessary but they worked. Deleting/re-adding only the problem controllers did not work.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 19:56:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/exportsubnetwork-error-a-subnetwork-controller/m-p/1659455#M5892</guid>
      <dc:creator>lshorrock</dc:creator>
      <dc:date>2025-10-21T19:56:53Z</dc:date>
    </item>
  </channel>
</rss>

