<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ConvertWebMapToArcGISProject with secured services 11.2 in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/convertwebmaptoarcgisproject-with-secured-services/m-p/1613579#M42205</link>
    <description>&lt;P&gt;Interestingly we've also just started getting the same first error as you, but not the second. interested to hear what the result was.&lt;/P&gt;</description>
    <pubDate>Mon, 12 May 2025 09:28:48 GMT</pubDate>
    <dc:creator>Joey_NL</dc:creator>
    <dc:date>2025-05-12T09:28:48Z</dc:date>
    <item>
      <title>ConvertWebMapToArcGISProject with secured services 11.2</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/convertwebmaptoarcgisproject-with-secured-services/m-p/1376223#M38423</link>
      <description>&lt;P&gt;I am trying to get ConvertWebMapToArcGISProject to work with secured mapserver services on our 11.2 Enterprise. The ArcGIS Servers are federated with portal using default authentication. I am using arcpy.ImportCredentials in my script and then&amp;nbsp;arcpy.mp.ConvertWebMapToArcGISProject. This works fine in Pro. When I publish to ArcGIS Server and a Geoprocessing Task it always errors&lt;/P&gt;&lt;P&gt;on&amp;nbsp;ConvertWebMapToArcGISProject. The ImportCredentials is accessing AGS files for server that are&lt;/P&gt;&lt;P&gt;functioning fine in Pro. The AGS files are using stored credentials.&lt;/P&gt;&lt;P&gt;These are some of the errors showing up in the Server log:&lt;/P&gt;&lt;DIV class=""&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SEVERE&lt;/TD&gt;&lt;TD&gt;Jan 30, 2024, 4:21:22 PM&lt;/TD&gt;&lt;TD&gt;Error performing query operation Error handling service request :Illegal access: this web application instance has been stopped already. Could not load [META-INF/services/javax.xml.parsers.DocumentBuilderFactory]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.&lt;/TD&gt;&lt;TD&gt;Rest&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;TABLE border="0" width="1454px" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="67.8906px"&gt;SEVERE&lt;/TD&gt;&lt;TD width="66.3281px"&gt;Jan 30, 2024, 4:21:10 PM&lt;/TD&gt;&lt;TD width="1082.62px"&gt;Error executing tool. ExportWebMap : PYTHON ERRORS: Traceback info: File "C:\arcgisserver\directories\arcgissystem\arcgisinput\Print\ExportWebMap.GPServer\extracted\cd\proexportwebmap\custom_export_webmap.py", line 66, in main result = arcpy.mp.ConvertWebMapToArcGISProject(json_str, map_temp) Error Info: Failed to create layer from service at &lt;A href="https://server7.ggg.org/arcgis7/rest/services/Southeast/Blah_Results/MapServer" target="_blank" rel="noopener"&gt;https://server7.ggg.org/arcgis7/rest/services/Southeast/Blah_Results/MapServer&lt;/A&gt;. Failed to create layer from service at &lt;A href="https://server7.ggg.org/arcgis7/rest/services/Southeast/Blah_Overlays/MapServer" target="_blank" rel="noopener"&gt;https://server7.ggg.org/arcgis7/rest/services/Southeast/Blah_Overlays/MapServer&lt;/A&gt;. ArcPy ERRORS: Failed to execute (ExportWebMap).&lt;/TD&gt;&lt;TD width="236.547px"&gt;Print/ExportWebMap.GPServer&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Jan 2024 23:42:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/convertwebmaptoarcgisproject-with-secured-services/m-p/1376223#M38423</guid>
      <dc:creator>DHighness</dc:creator>
      <dc:date>2024-01-30T23:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertWebMapToArcGISProject with secured services 11.2</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/convertwebmaptoarcgisproject-with-secured-services/m-p/1608858#M42085</link>
      <description>&lt;P&gt;Any progress on this issue? I got the same severe message as your first one.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 12:41:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/convertwebmaptoarcgisproject-with-secured-services/m-p/1608858#M42085</guid>
      <dc:creator>waterschapVallei_en_Veluwe</dc:creator>
      <dc:date>2025-04-24T12:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertWebMapToArcGISProject with secured services 11.2</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/convertwebmaptoarcgisproject-with-secured-services/m-p/1613579#M42205</link>
      <description>&lt;P&gt;Interestingly we've also just started getting the same first error as you, but not the second. interested to hear what the result was.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 09:28:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/convertwebmaptoarcgisproject-with-secured-services/m-p/1613579#M42205</guid>
      <dc:creator>Joey_NL</dc:creator>
      <dc:date>2025-05-12T09:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertWebMapToArcGISProject with secured services 11.2</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/convertwebmaptoarcgisproject-with-secured-services/m-p/1660109#M43299</link>
      <description>&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;for the case mentioned above, you'd not need to create your custom print service with importCredentials(). Token based security is supported by default by all print services. If you see any issues with print service not able to print secured map/feature services, please reach out to Esri Support, as you know it gets much easier that way to debug issues like this.&lt;/P&gt;&lt;P&gt;Also, on .ags file, Pro doesn't allow storing credentials in an .ags file for a server that is federated to a portal.&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;Tanu&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 18:45:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/convertwebmaptoarcgisproject-with-secured-services/m-p/1660109#M43299</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2025-10-23T18:45:13Z</dc:date>
    </item>
  </channel>
</rss>

