Select to view content in your preferred language

Export to KML via Analysis widghet

119
2
Monday
PaulJohns
Occasional Contributor

I'm encountering an instability issue with what I believe is the Spatial Analysis service in ArcGIS Portal for ArcGIS. Specifically, we're using the Analysis widget > Extract Data tool to export hosted feature layers to KML/KMZ format. The process works successfully 2-4 times (even with extended pauses between runs), but then consistently fails with a "process ended unsuccessfully" error. Restarting the Portal (via reboot of the hosting virtual machine) temporarily resolves it, allowing another 4-5 successful runs before the failures resume.
Additionally, the server logs show the following error details:
Error executing tool.
ExtractData Job ID: j50e445e3a31044aaa96049f8aadd28df : {"messageCode": "AO_100026", "message": "ExtractData failed."} Failed to execute (ExtractData). System/SpatialAnalysisTools.GPServer

I've researched this and suspect it may be related to a known system bug in Portal: BUG-000162558 (Unable to use fields with reserved field names for standard analysis tools). However, it could also tie into similar issues like BUG-000167347, where the Extract Data tool fails with AO_100026 on view layers (workaround: use parent layer instead).

Has anyone else experienced this intermittent behavior with the Extract Data tool? Any suggested workarounds, such as service restarts, configuration tweaks, or patches? I'd appreciate any insights or pointers to relevant documentation.

Thanks in advance for your help!

 

0 Kudos
2 Replies
SarahAmbrose
Esri Contributor

Hi @PaulJohns ,

I'm happy to troubleshoot here, but will have a few questions - so it might be faster to go through support. 

Can you help me out with a few details?

- What version of Enterprise are you using?

- Do you only see this failure with certain datasets? Are the Extract tool runs that pass using the same input datasets and parameters that fail?

- You mentioned two bugs - do your datasets meet those criteria?

- Have you turned on debug logs and checked the traceback messages? If so, can you share them here?

- Are you running the tools through Experience Builder, Map Viewer, or something else? 

 

We haven't seen this during testing, but if you're able to confirm your workflow I can try and reproduce it exactly. Currently, I'd assume you're running the extract tool with the same parameters and outputting it to KML. Let me know if there are additional details and I can try those. 

Thank you,

Sarah Ambrose
Product Engineer, Web Analysis

0 Kudos
PaulJohns
Occasional Contributor

Hi Sarah,

Thank you for your support.

  1. I am using ArcGIS Enterprise 11.2.0 (build 49116) with a Server Standard license.
  2. The issue occurs consistently, but performing a full server reboot or starting/stopping the SpatialAnalysis service temporarily resolves it (allowing 2–4 successful attempts before the error reappears). All exported data formats (SHP, KML, CSV, GeoJSON) trigger this error.
  3. The same issue occurs in both Web AppBuilder and Experience Builder.
  4. The server logs show the following:

    Error executing tool. Extract Data Job ID: j50e445e3a31044aaa96049f8aadd28df: {"messageCode": "AO_100026", "message": "Extract Data failed."} Failed to execute (Extract Data).

After my analysis, I found information indicating that this issue is related to known bug BUG-000162558. I have already fixed this problem by applying two patches:

I also have a new issue with the "Add Data widget." It cannot read any data, including KML files generated by the "Analysis - Extract Data" widget. I consistently receive errors (see my attached files) or a message stating that the format is not supported, even for KML files generated by the Extract Data widget.

P.S. Issue with "Add data" widghet is stabil as before patch instalation, as after. 






0 Kudos