<?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: ERROR 160874: The utility network association already exists in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702409#M6876</link>
    <description>&lt;P&gt;The warning you're getting about duplicated rows is caused because the asset package tools are detecting duplicate rows in the asset package. Because you are deploying the asset package to a new geodatabse, you cannot have conflicts between what is in the asset package and the target UN (because the target UN is empty).&lt;/P&gt;&lt;P&gt;When you run export to asset package the resulting asset package will not contain any UN_* tables, so we populate C_* tables so they can be used to recreate the data in the system tables when the asset package is deployed.&lt;/P&gt;</description>
    <pubDate>Sat, 16 May 2026 13:19:04 GMT</pubDate>
    <dc:creator>RobertKrisher</dc:creator>
    <dc:date>2026-05-16T13:19:04Z</dc:date>
    <item>
      <title>ERROR 160874: The utility network association already exists</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702400#M6870</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;I'm working with Esri Utility Network on ArcGIS Pro 3.3.1 and I have a technical question about a specific behavior I keep running into during the Asset Package deploy process.&lt;/P&gt;&lt;P&gt;**Background**&lt;BR /&gt;My typical workflow is:&lt;BR /&gt;1. Deploy the Utility Network from an Asset Package using the Asset Package To Geodatabase tool.&lt;BR /&gt;2. Go back to the Asset Package to make configuration changes.&lt;BR /&gt;3. Re-run Asset Package To Geodatabase against the same geodatabase.&lt;BR /&gt;At step 3, the ImportAssociations step consistently fails with:&lt;BR /&gt;&amp;gt; ERROR 160874: The utility network association already exists.&lt;BR /&gt;&amp;gt; [Duplicate association found. Association with FROMGLOBALID: {…} and TOGLOBALID: {…}]&lt;BR /&gt;&amp;gt; Failed to execute (ImportAssociations).&lt;/P&gt;&lt;P&gt;My questions&lt;BR /&gt;1. What is the exact relationship between the two tables involved?&lt;BR /&gt;As I understand it:&lt;BR /&gt;- `UN_5_Associations` is the internal system table of the Utility Network, managed by ArcGIS, holding all active associations (connectivity, containment, structural attachment). The number 5 is the internal ID of the UN dataset within the geodatabase.&lt;BR /&gt;- `C_Associations` is a staging table included in the Asset Package, used as the input source by the ImportAssociations geoprocessing tool.&lt;BR /&gt;Is this understanding correct? Is there anything I'm missing about their relationship and lifecycle?&lt;/P&gt;&lt;P&gt;2. Why is `UN_5_Associations` not included in the original Asset Package?&lt;BR /&gt;When exporting a UN to an Asset Package, only `C_Associations` seems to be carried over — the system table is not included. Is this by design? If so, what is the architectural reasoning behind it?&lt;/P&gt;&lt;P&gt;3. Why does ERROR 160874 occur on re-deploy?&lt;BR /&gt;My hypothesis is that during the first deploy, associations are written into `UN_5_Associations` automatically as part of the apply asset package process. When re-deploying, ImportAssociations reads from `C_Associations` and tries to insert the same FROMGLOBALID/TOGLOBALID pairs again — finding duplicates already in the system table and throwing ERROR 160874. Is this correct?&lt;BR /&gt;What is the recommended approach to handle this UN → edit AP → re-deploy cycle without running into this error?&lt;/P&gt;&lt;P&gt;Current workaround&lt;BR /&gt;I've written a Python (arcpy) script that, before re-deploying, removes from `UN_5_Associations` all FROMGLOBALID/TOGLOBALID pairs already present in `C_Associations`. It works, but I'm wondering whether there is an official or Esri-recommended way to handle this scenario cleanly.&lt;/P&gt;&lt;P&gt;Thanks in advance to anyone who can shed some light on this!&lt;BR /&gt;&lt;BR /&gt;Mariano&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 06:04:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702400#M6870</guid>
      <dc:creator>MarianoDiNapoli</dc:creator>
      <dc:date>2026-05-16T06:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 160874: The utility network association already exists</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702404#M6873</link>
      <description>&lt;P&gt;The UN_* tables are the system tables of the utility network, the C_* tables are the corresponding tables in the asset package.&lt;/P&gt;&lt;P&gt;You shouldn't be redeploying the asset package to the same geodatabase to make configuration changes, you have to deploy it to a new geodatabase. There asset package is designed to append new data and new configuration into a utility network. If you make changes to an asset package you must deploy it to a new geodatabase, otherwise you will end up with duplicated data and it's likely that most of the configuration changes will not be applied.&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 12:43:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702404#M6873</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2026-05-16T12:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 160874: The utility network association already exists</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702405#M6874</link>
      <description>&lt;P&gt;Hi Robert,&lt;BR /&gt;thank you for your reply. I probably was not very clear in explaining that the geodatabase used for the redeploy is actually a new one. My main question was to better understand the difference between the two tables and, most importantly, why the UN_* table is imported when going back from the UN to the AP, since it is a Utility Network system table and not an asset package one. The error appeared because both tables contain the same information, so duplicates are detected. Looking at the solution, the UN_* table understandably does not exist there, so I was probably misunderstanding the origin of the data.&lt;BR /&gt;At this point, I believe this behavior is related to configurations created directly within the Utility Network.&lt;BR /&gt;In any case, thank you for your support.&lt;BR /&gt;Best regards&lt;/P&gt;&lt;P&gt;Mariano&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 12:53:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702405#M6874</guid>
      <dc:creator>MarianoDiNapoli</dc:creator>
      <dc:date>2026-05-16T12:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 160874: The utility network association already exists</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702406#M6875</link>
      <description>&lt;P&gt;Easiest way to think about it, is the Asset Package is the complete representation of the Utility Network, but serialized or represented in a series of visible tables.&amp;nbsp; Running Asset Package to GDB always creates a brand new Geodatabase.&amp;nbsp; The tools take all the rows from the C_Association table and format them into the format that Import Association requires(csv).&amp;nbsp; You can see these files in the AP_Workspace folder.&amp;nbsp; Can you post the entire message from the GP tool?&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 13:13:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702406#M6875</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2026-05-16T13:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 160874: The utility network association already exists</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702409#M6876</link>
      <description>&lt;P&gt;The warning you're getting about duplicated rows is caused because the asset package tools are detecting duplicate rows in the asset package. Because you are deploying the asset package to a new geodatabse, you cannot have conflicts between what is in the asset package and the target UN (because the target UN is empty).&lt;/P&gt;&lt;P&gt;When you run export to asset package the resulting asset package will not contain any UN_* tables, so we populate C_* tables so they can be used to recreate the data in the system tables when the asset package is deployed.&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 13:19:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702409#M6876</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2026-05-16T13:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 160874: The utility network association already exists</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702411#M6877</link>
      <description>&lt;P&gt;Hi Mike and Robert,&lt;BR /&gt;my approach was to delete from the UN_* table the same identical items present in the C_ASsociations table, using a script.&amp;nbsp;In any case, the generated error is the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ERROR 160874: The utility network association already exists. [Duplicate association found. Association with FROMGLOBALID: {1AE81AD3-C6F1-425D-9AF2-C144729D8DA7} and TOGLOBALID: {F6073DAE-0C3D-4B1E-9221-736095911AD6}], The table was not found. [Network]&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Failed to execute (ImportAssociations).&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As mentioned before, I had to run the geoprocessing tool to generate an Asset Package from an already configured Utility Network (I had to change different description of domains :)). As a result, when I ran the tool, I ended up with the UN_5 table inside the AP.&amp;nbsp;&lt;BR /&gt;This is why I was asking about the differences between the tables and why this issue occurs.&lt;BR /&gt;Thank you both.&lt;/P&gt;&lt;P&gt;Mariano&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 13:28:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702411#M6877</guid>
      <dc:creator>MarianoDiNapoli</dc:creator>
      <dc:date>2026-05-16T13:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 160874: The utility network association already exists</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702412#M6878</link>
      <description>&lt;P&gt;It sounds like you are staging and deploying your utility network in the same geodatabase as your asset package. this is not supported.&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 13:39:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702412#M6878</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2026-05-16T13:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 160874: The utility network association already exists</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702413#M6879</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/583270"&gt;@MarianoDiNapoli&lt;/a&gt;&amp;nbsp;btw, if all you need to do is update some asset type/asset group descriptions, you can do that on your utility network using ArcGIS Pro 3.7. You don't even need to disable the network topology. You can do this using the Design Views or the new &lt;A href="https://doc.esri.com/en/arcgis-pro/latest/tool-reference/data-management/alter-subtype.html?tabs=dialog" target="_self"&gt;Alter Subtype&lt;/A&gt; and &lt;A href="https://doc.esri.com/en/arcgis-pro/latest/tool-reference/data-management/alter-coded-value-description.html?tabs=dialog" target="_self"&gt;Alter Coded Value Description&lt;/A&gt; tools&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 13:47:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702413#M6879</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2026-05-16T13:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 160874: The utility network association already exists</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702415#M6880</link>
      <description>&lt;P&gt;You should never get any UN_&amp;lt;DSID&amp;gt;_* tables in the asset package.&amp;nbsp; If you do, the asset package tools will treat it like a stand alone table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 18:15:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702415#M6880</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2026-05-16T18:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 160874: The utility network association already exists</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702475#M6882</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/138089"&gt;@RobertKrisher&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/188597"&gt;@MikeMillerGIS&lt;/a&gt;&amp;nbsp;for the suggestions.&lt;BR /&gt;Mariano&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2026 04:32:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/error-160874-the-utility-network-association/m-p/1702475#M6882</guid>
      <dc:creator>MarianoDiNapoli</dc:creator>
      <dc:date>2026-05-18T04:32:01Z</dc:date>
    </item>
  </channel>
</rss>

