IDEA
|
We are implementing a similar workflow where we make a full copy of our Water Utility Network in a different Postgres database and schema to publish a service specifically for running trace functionality. Each time we drop and recreate the replica of the Utility Network, we must republish the service manually (due to the internal naming of a number of UN objects - UN_1234_DirtyAreas for example). We are able to add the Network layer to an APRX using arcpy (code included below), but the issue we are hitting is at the publishing stage when calling arcpy.UploadServiceDefinition_server Have you (or anyone reading this) been able to automate the publishing of a Utility Network service? In case it helps, here is the basic code we are using to add the Network object to an APRX. And for reference, we are running ArcGIS Pro 3.3.1 and Python 3.9. import arcpy
mapname = "TraceReplica"
map_document_fullpath = rf"D:\repos\UtilityNetworkTrace\{mapname}.aprx"
aprx = arcpy.mp.ArcGISProject(map_document_fullpath)
m = aprx.listMaps(mapname)[0]
d = r"***path_to_sde_connection_file***\untrace.tracereplica.UtilityNetwork\untrace.tracereplica.Network"
m.addDataFromPath(d)
aprx.save()
... View more
05-12-2025
05:39 PM
|
0
|
0
|
238
|
POST
|
That sounds promising, Masao, thank you for the information!
... View more
10-16-2024
03:26 PM
|
0
|
0
|
5560
|
POST
|
Our ArcGIS 11.3 Server regularly throws many of the following SEVERE errors (versions 11.2 and 10.9.1 did this as well): "Instance of service '....' failed to process a request." This specific error is generate by an APRX which references 7 map services and is used by about a dozen editors to edit the Utility Network through one of the 7 services (the other map services are not editable and do not have a Feature Service enabled). The errors are thrown from layers in the Table of Contents which have a Data Source Type of "Feature Service Feature Class" which are layers referenced individually (their Layer IDs are in the URL). Data that is drawn by referencing a full Map Service does not throw this error. The errors appear to only be thrown on the initial load of the APRX into ArcGIS Pro. Other actions (pan, zoom, change version, start editing, save edits, etc.) have not been found to throw the error..... With a dozen editors opening the APRX multiple times throughout a work day, and each time throwing 5 SEVERE errors, this amounts to hundreds of SEVERE errors in the logs each day. We have noticed that each occurrence of this SEVERE error is also accompanied by a WARNING error: "Unable to process request. Error handling schema request: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.esri.arcgis.discovery.servicelib.AGSException: java.io.IOException: Server object extension 'validationserver' not found." And fewer times, this WARNING: "Unable to process request. Extension not found." For reference, here is a screen shot of the errors from ArcGIS Server: The errors do not appear to have any user impact, and they do not prevent editors from doing their work. At this point, we believe the SEVERE and WARNING errors in the logs are not something we need to be too concerned about, but the issue remains that since there are so many of them, they tend to crowd out what may be other "real" SEVERE errors that need to be handled. So the question is how do we eliminate these SEVERE errors from the logs? It seems like two solutions may be needed here. One for the map services which are just simple Map Services, and one for the editing service. Most of the services throwing this error are basic map services. Why would ArcGIS Pro or ArcGIS Server be looking for a Validation Service on a map service that has no editable layers, is not versioned, has no topology or anything else that I am familiar with in relation to the purpose of a Validation Service? The Utility Network map service is, of course, running over a branch versioned dataset, so do we just turn on a Validation Service? But we can't do that in ArcGIS Server Manager - the checkbox is always greyed out. It appears a Validation Service is applied when the software feels that it is warranted. For example, when we publish a Feature Class with Topology as a Map/Feature Service, it automatically gets a Validation Service applied. Thanks for any help or ideas, or even questions to help clarify this long and rambling problem description.
... View more
09-24-2024
04:17 PM
|
10
|
11
|
6088
|
POST
|
Thank you, @ChristopherPawlyszyn . Your answer did direct me to the correct location for scripting a check on whether Portal users can be created Automatically or by Invitation. My apologies for the extended delay in posting this thank you.... ...j.russ coffey
... View more
07-03-2024
11:53 AM
|
0
|
0
|
668
|
POST
|
Thanks for the reply, @BillFox. While Portal can function in an active-active mode, we can confirm that both machines are not responding to requests at the same time. It is definitely functioning in a Primary/Standby mode (otherwise, once we get to production, it would violate our licensing).
... View more
12-29-2022
02:06 PM
|
0
|
1
|
2494
|
POST
|
Thank you for the response, @ReeseFacendini. While we were hoping for the failover to occur in only a few seconds, we just needed confirmation (and the explanation helps as well) that 3-5 minutes is what we should expect. We are trying to avoid managing the synchronization of content between servers, but we now understand that that is what we will have to do if we need a faster failover process. Thank you.
... View more
12-29-2022
02:02 PM
|
0
|
0
|
2495
|
POST
|
We are deploying a Highly Available ArcGIS Enterprise 10.9.1 architecture and have been testing for a few weeks to determine the optimal configuration and are currently focused on minimizing downtime due to events such as patching or hardware failures. One result that came as a surprise to us was the amount of time it apparently takes to perform a failover, and I am specifically referring to Portal. Here is a scenario we have experienced: initiate the failover process by turning off the Portal service on the Primary machine (if there is a better way to initiate a failover, I am interested in hearing about it). Immediately, users of our site get no response, or maybe a 500 Error, for about 3-4 minutes until the Standby realizes that the Primary is down and promotes itself to Primary, after which users are back up and running fine. Is this the expected behavior and timeframe for switching? There must be two components of that 3-4 minutes. (1) The Standby machine performing checks against the Primary to see if it is running. (2) Standby actually promoting itself to Primary. How much of that 3-4 minutes is due to the health checks and how much is due to the actual promotion process? Our deployment is configured with the default ha settings, as set in the portal.ha.monitor.interval file and documented here. Based on this information, the health checks would only be responsible for 3 seconds of the 3-4 minute downtime, because Standby performs a health check with the Primary server every 1 second and promotes itself after 3 sequential failures. Should we really experience a 3-4 minute wait time for Standby to promote itself to Primary? I am surprised because that is about the amount of time that it takes the Portal service to fully start up from a stopped state. But the Portal service on our Standby server is up and running and should theoretically be able to take over as soon as it realizes that the Primary is down. We are very interested in hearing the experiences of others who have an HA deployment and have failed over for scheduled events such as patching, as well as due to unplanned events like hardware failure.
... View more
12-27-2022
06:09 PM
|
2
|
5
|
2604
|
IDEA
|
Scenario: a user is capturing a line feature in the field in Field Maps. The line needs to be a specific length because the user has measured it in the field. (Note that high-accuracy GPS-collection does not work here due to obstructions.) The user clicks a starting point. Field Maps starts drawing a dashed line between that starting point and the map cursor as the user moves it around. The user needs to place the next vertex so that the line is a specific length (say 10.5 feet). We envision two possible solutions within the Field Maps app. 1 - the cursor displays the length that the line would be if the user clicked "Add Point" at that location. So, as the user moves the map around and the line gets shorter/longer, the length displayed would change and once it showed 10.5, the user would happily place the vertex. (Sample screen shot of this solution is attached.) 2 - After clicking the starting point, allow the user to enter a length (in map units) for the line, and Field Maps locks the line length to that distance (acting like a radius around the starting point), until the user clicks for the second vertex.
... View more
09-21-2021
04:08 PM
|
11
|
2
|
1226
|
POST
|
Susana - Ok, here was the solution for me, and probably for you as well. There are two places to set Background App Refresh - (1) in the Collector app settings (that's the one we were looking at, which was greyed out), and (2) under Settings / General / Background App Refresh where you can turn off refresh for all apps at once (which I had done to conserve battery life, but had forgotten that I did that). Hope this helps. ......j.russ
... View more
07-24-2015
09:01 AM
|
1
|
0
|
670
|
POST
|
Hi Susana - Any luck with this issue? I have the same issue with an iPhone 6 Plus, although my Background App Refresh is set to off, but like yours, it is greyed out and I cannot change the setting. When I tried to take a service offline, Collector threw an error saying that I need to enable background refresh, but then it actually downloaded the data and worked offline. However, when I tried to upload changes, it threw the same error but did not perform the upload. Are you working with a service behind a firewall by any chance? I am connected through VPN/SecurID to our ArcServer behind our firewall, and thought that maybe that is causing the glitch, but I haven't found any documentation or user experiences on that yet. However, if I disconnect from VPN, I still can't change the setting, so not sure if that is really an issue. I'll update here if I find anything. (Currently at the UC, so hopefully I can find someone with knowledge on the issue.) .....j.russ
... View more
07-21-2015
11:27 AM
|
0
|
0
|
670
|
POST
|
I confirmed with an ESRI rep that the E-mail address is not displaying in the user profile by design, since it is an Enterprise login account. So, that is not a symptom. However, the issue remains that I cannot send e-mail notifications to any Enterprise accounts. I am still working with the ESRI rep, using SAML Tracer in Firefox to try to isolate whether or not the issue is in our configuration of the SAML assertion.
... View more
03-10-2015
04:02 PM
|
0
|
0
|
949
|
POST
|
Thanks for the information, Jake. That is helpful, although disappointing. The last line in the paragraph you copied is the one that is particularly applicable for my situation. I can move our address geocoder to an external server (which I am going to try out this weekend to validate the information in the link you provided). However, we have created locators for the components of our water delivery system, which we cannot put outside our firewall for security reasons. I'll pass this as a request to our ESRI reps and see if there are any plans to allow batch geocoding from services inside the firewall. Until then, we may need to stock up on credits! Thanks again.
... View more
12-04-2014
06:00 PM
|
0
|
1
|
911
|
POST
|
The short version: Excel (using Maps for Office) can see our internal geocoding services, which are exposed as Geocoding Utility Services through ArcGIS Online, but it never actually calls them with the data to be geocoded. Now more detail: We have a few geocoding services running on our internal ArcGIS for Server servers (behind our firewall). These services are exposed to ArcGIS Online and shared with all members of our organization. These locators work fine in our ArcGIS Online maps and apps. However, the locators are not called in Excel with the "Add Excel Data" tool. The locators are visible and can be selected and the user can even specify which columns belong to which parameters for the service and the service acts like it is running, but it always returns 0 results. Watching the calls in Fiddler shows that Excel interrogates the correct internal REST endpoint to get the parameters of the selected locator, but no call is ever made to the internal geocoding service with the actual data to be geocoded. I have seen a number of somewhat related posts but no resolutions. Anyone have a similar experience, or is anyone successfully utilizing local geocoding services from within Maps for Office? Possible issue/resolution: The option "Allow Batch Geocoding" for our services is grayed out in the ArcGIS Online "Utility Services" configuration area. This is the path I am pursuing at the moment.
... View more
12-02-2014
10:34 AM
|
0
|
3
|
4138
|
POST
|
Thanks for the information, Nils. You are right on, and I can confirm the behavior you described. After my post yesterday, I enabled security on the ArcGIS Server service (which requires the user to do the second log-in, as you mentioned, with their local NTLAN user account/password) and the editor tracking does capture their company-provided username, not the AGO username. I actually prefer that, except for the fact that the user will have to log in with two different usernames and passwords to access the data they need to edit. It seems like a little thing, but that's definitely not a selling point when I introduce AGO to users. As I understand, there is a single sign-on method available for AGO, but your organization has to enable Active Directory Federated Services, and I don't see us doing that anytime soon (although I may try to argue for it). Please keep me posted if you come across anything else, and I will do the same.
... View more
09-18-2014
08:36 AM
|
0
|
3
|
2192
|
POST
|
Any updates, Nils? I am experiencing the same behavior. I, too, expected to see the login name of the ArcGIS Online user, which is why I enabled the editor tracking. The closest documentation of this issue that I can find is the following open bug report, but it is referring to hosted feature services, while both of us are using non-hosted feature service. I'll post back here if I came across anything. NIM102295 - If the editor tracking fields (Creation Date, Crea..
... View more
09-17-2014
05:20 PM
|
0
|
5
|
2192
|
Title | Kudos | Posted |
---|---|---|
10 | 09-24-2024 04:17 PM | |
2 | 12-27-2022 06:09 PM | |
11 | 09-21-2021 04:08 PM | |
1 | 07-24-2015 09:01 AM |
Online Status |
Online
|
Date Last Visited |
Thursday
|