Hi,
I attempt to deploy the ElectricFoundationV2.2 on an Enterprise geodatabase.
First, I noticed the asset package that is delivered in the solution doesn't contain any data, so I exported the deployed Utility Network from the file geodatabase to an Asset Package. This took 17hours to export. Don't know why it takes so much time, as I remember in the past this could easily be done in 2hours. However, I have an Asset Package containing the sample data now.
Second, I tried to deploy this asset package to an Enterprise geodatabase. I took the D_Rename and D_Configurations from the Balanced fgdb. Herewith my python script;
arcpy.pt.AssetPackageToUtilityNetwork(
asset_package=r"E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\Electric_AssetPackage_With_Data.gdb",
domain_networks="Structure;Electric",
in_utility_network=r"E:\GISFolder\Connections\ElectricFoundation_v2_2\unadmin@electricfoundation_v2_2.sde\electricfoundation_v2_2.unadmin.UtilityNetwork\electricfoundation_v2_2.unadmin.Network",
load_data="INCLUDE_DATA",
analyze="ANALYZE",
configurations="'Transmission (Base)';'Transmission Stations';'Transmission Support Structures';'Centralized Generation';'Transmission Functional Equipment';'Subtransmission (Base)';'Subtransmission Stations';'Subtransmission Functional Equipment';'Subtransmission Other Structures';'Balanced Distribution (Base)';'Distribution Stations';'Distribution Overhead Equipment';'Distribution Underground Equipment';'Distribution Other Structures';'Distributed Generation';'Distribution Functional Equipment';'Secondary Balanced (Base)';'Secondary Distributed Generation';'Secondary Stations';'Secondary Structures';'Secondary Functional Equipment';'Secondary Overhead';'Secondary Underground';'Secondary Aerial Structures';'Remove All LV DC';Ground;'Underground Structure Network';'Miscellaneous Structures';'Communications Equipment and Structures';'Metric Units';'Engineering Analysis Support';'Alternate Switching States'",
rename_field="Balanced",
post_process="NO_POST_PROCESS"
)
When starting the script, I get this warning and error messages, resulting in "Apply Asset Package Failed"
Start Time: Tuesday, June 13, 2023 6:21:59 AM
ArcGIS Pro 3.1.2.41833
untools 3.1.0
Executing from ArcGIS Pro, 6 map(s), activeMap = False
Parallel processing enabled: 6
Asset Package schema version: 3.1
Staging directory -- E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\AP_Workspace
E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\AP_Workspace\xml\StructureJunction_1_Fields-Subtypes-CV.xml:1066
ERROR 002580: The asset type domain is already assigned to another class or asset group.
WARNING 000952: Failed to execute (AssignDomainToField).
E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\AP_Workspace\xml\StructureJunction_1_Fields-Subtypes-CV.xml:1071
WARNING 000952: Failed to execute (AssignDomainToField).
E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\AP_Workspace\xml\StructureJunction_1_Fields-Subtypes-CV.xml:1076
WARNING 000952: Failed to execute (AssignDomainToField).
E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\AP_Workspace\xml\StructureJunction_1_Fields-Subtypes-CV.xml:1081
WARNING 000952: Failed to execute (AssignDomainToField).
E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\AP_Workspace\xml\StructureJunction_1_Fields-Subtypes-CV.xml:1086
WARNING 000952: Failed to execute (AssignDomainToField).
E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\AP_Workspace\xml\StructureJunction_1_Fields-Subtypes-CV.xml:1091
WARNING 000952: Failed to execute (AssignDomainToField).
E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\AP_Workspace\xml\StructureJunction_1_Fields-Subtypes-CV.xml:1096
WARNING 000952: Failed to execute (AssignDomainToField).
E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\AP_Workspace\xml\StructureJunction_1_Fields-Subtypes-CV.xml:1101
WARNING 000952: Failed to execute (AssignDomainToField).
E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\AP_Workspace\xml\StructureJunction_1_Fields-Subtypes-CV.xml:1106
WARNING 000952: Failed to execute (AssignDomainToField).
E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\AP_Workspace\xml\StructureJunction_1_Fields-Subtypes-CV.xml:1111
WARNING 000952: Failed to execute (AssignDomainToField).
E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\AP_Workspace\xml\StructureJunction_1_Fields-Subtypes-CV.xml:1116
WARNING 000952: Failed to execute (AssignDomainToField).
E:\GISFolder\ArcGIS Solutions\ElectricUtilityNetworkFoundationV2_2\Database\AP_Workspace\xml\StructureJunction_1_Fields-Subtypes-CV.xml:1121
WARNING 000952: Failed to execute (AssignDomainToField).
@mmiller and @JohnAlsup, any idea why this failed?
Thanks,
Jan
Solved! Go to Solution.
Thanks Mike, will try this.