Apply Asset Package tool from utility network package tools fails to execute on a utility network that was created in a file geodatabase & shows the following error:
“Invalid value for FROMFEATURECLASS (row 1)Failed to execute (ImportAssociations)”
Note: default water distribution asset package from ESRI is used.
What could be the issue here?
Solved! Go to Solution.
Thank you for sharing your GDB. The issue is you have two Utility Networks in the file geodatabase. The Apply Asset Package is attempting to load the associations to the incorrect structure layer. If you review the AP_Workpsace, the association csv is referencing StructureBoundary and not StructureBoudnary_1. I will get the issue logged.
Could you expanded the messages and post them here? Would like to see what is being displayed to the console. Also can you zip up that file geodatabase with the UN and post it here or email it to me at mmiller@esri.com? I will need to debug it to see why it is failing.
Hi Michael,
Thanks for your reply.
please check the below:
ArcGIS Pro 2.6.24762
untools 2.6.0
Executing from ArcGIS Pro, 1 map(s), activeMap = True
Parallel processing enabled: 9
Asset Package schema version: 2.4
ERROR 000192: Invalid value for FROMFEATURECLASS (row 1) Failed to execute (ImportAssociations).
Failed to execute (AssetPackageToUtilityNetwork).
Hi again,
Please note that some changes occured to the UN but with a failing message!
Thank you for sharing your GDB. The issue is you have two Utility Networks in the file geodatabase. The Apply Asset Package is attempting to load the associations to the incorrect structure layer. If you review the AP_Workpsace, the association csv is referencing StructureBoundary and not StructureBoudnary_1. I will get the issue logged.
Thanks Michael for the answer.
I will try this & let you know .
Best,
Alaa