Hello,
I'm in the process of setting up a new Electric Utility Network environment using the Electric Utility Network Foundations asset package and I'm running into an error when I'm applying the asset package to our enterprise geodatabase using the "Apply Asset Package" Geoprocessing tool. The error is "Must be connected and signed into the portal". I'm fairly certain I'm connected and signed into our portal and I've tried to do this a couple of times now and I've run into the problem both times now.
Any ideas would be very helpful.
Thanks,
Mike...
This will be resolved in Pro 2.5. The check for Portal user during Import Associations is removed.
It seems like there is something that is causing the connection to portal to timeout before the asset package import is completed successfully.
I have seen some cases where the import time is increased due to open maps in your project - have you checked to ensure there are no maps in your project open?
Apply Asset Package—Tool Reference | ArcGIS Solutions
Electric and Gas
Melissa,
Thank you very much for the response.
I just double checked and there are no maps opened in the ArcGIS Pro project we are using to run this Geoprocessing tool. It is basically just an empty project with 2 database connections – one connection to the asset package GDB and one connection to the enterprise geodatabase we are applying the asset package to.
Mike Hamsa
Chief Technology Officer - GeoSpatial Innovations, Inc.
P: 512-982-6735
Paul,
Thank you VERY much for the information – any idea when that release is going to be available, or if there are any workarounds we can use now in 2.4 to get past problem? We are kind of stuck right now and we’d like to get this environment setup so we can continue with our development.
Thanks again,
Here's a post on the release date
https://community.esri.com/docs/DOC-13641-arcgis-pro-roadmap-july-2019?commentID=82074#comment-82074
There's a uniquely named "AP_Workspace" folder in the same directory as the asset package. There's a python script in there called "main.py" -- you can comment out the steps that have already succeeded and just run the remaining.
Something like this:
So what happening on my machine is that I go to the AP_Workspace folder, modify the main.py and comment out the steps that have already completed, then run the Apply Asset Package geoprocessing tool again. When I do that it creates a new AP_Workspace# (1, 2, 3, 4, etc, based on the number of time I run it) and it copies the original main.py script file in that new AP_Workspace folder with all the steps back in it.
I get the feeling I’m doing something wrong.
Do I need manually run that main.py script with the python console after I modify it?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.