<?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: MappingCore.dll Error with ArcGIS Server (10.8.1) GP service in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/mappingcore-dll-error-with-arcgis-server-10-8-1-gp/m-p/1056735#M30153</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2620"&gt;@TanuHoque&lt;/a&gt;&amp;nbsp; - pinging you directly because you helped the other day by directing my attention to the patch for custom printing in ArcGIS Server 10.8.1. That fixed my problem with custom print services created using Pro's Server Tools for Printing &amp;gt;&amp;gt; Export Web Map/Get Layout Templates.&lt;/P&gt;&lt;P&gt;Now, I'm running into issues (see post above) with migrating a more complex custom GP/printing service that uses arcpy.mp, specifically&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;arcpy.mp.ConvertWebMapToArcGISProject( ... )&lt;/LI-CODE&gt;&lt;P&gt;Do you know of any issues in 10.8.1 or needed changes to get what was running in 10.6.1 to work here?&amp;nbsp; I&amp;nbsp; haven't found any changes to arcpy.&lt;/P&gt;&lt;P&gt;It all sounds very similar to what's described in the patch for &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzMzcyOQ==" target="_self"&gt;BUG-000133729&lt;/A&gt;:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;This patch resolves an issue affecting geoprocessing services and print services in ArcGIS Server 10.8.1 that prevents working with or exporting layout templates or reports that contain text elements.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;I'm using a pro custom layout that's used by arcpy,mp along with the JSON from JSAPI to create an in-memory APRX that is then converted to PDF. Works like a charm in my production 10.6.1 environment. In 10.8.1 I'm seeing those DLL errors. Was the patch also to address this kind of thing?&amp;nbsp; I'm trying this on the same ArcGIS Server box that was patched.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arne_Gelfert_0-1620749494610.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13048iF5B5F2F2B8DD5A05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Arne_Gelfert_0-1620749494610.png" alt="Arne_Gelfert_0-1620749494610.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 May 2021 16:11:53 GMT</pubDate>
    <dc:creator>Arne_Gelfert</dc:creator>
    <dc:date>2021-05-11T16:11:53Z</dc:date>
    <item>
      <title>MappingCore.dll Error with ArcGIS Server (10.8.1) GP service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/mappingcore-dll-error-with-arcgis-server-10-8-1-gp/m-p/1056509#M30148</link>
      <description>&lt;P&gt;Trying to get a GP service to run in 10.8 that was running in 10.6... spawning new thread from &lt;A href="https://community.esri.com/t5/arcgis-enterprise-questions/gp-service-fails-with-quot-instance-of-service-crashed/m-p/1055517#M30118" target="_self"&gt;this&lt;/A&gt; in order to chase this in a different direction and for better visibility.&lt;/P&gt;&lt;P&gt;Originally I had only this to go by:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"Instance of Service Crashed.... Containing Process has Crashed"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I am also seeing the following in the Windows event log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Faulting application name: ArcSOC.exe, version: 12.6.0.24234, time stamp: 0x5ee81bca
Faulting module name: MappingCore.dll, version: 12.6.0.24241, time stamp: 0x5f8883dd&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that my original 10.6 GP service was using arcpy.mp which is Pro/3.x. The 10.8 service, however, would run 2.7 although published from Pro. Did 10.6 do more behind the scenes here when publishing? I don't remember changing any ArcGIS Server settings to make this run, yet sys.path had all the correct environmental info in it. That was missing in 10.8.&lt;/P&gt;&lt;P&gt;So I used the steps &lt;A href="https://enterprise.arcgis.com/en/server/10.8/publish-services/windows/deploying-custom-python-packages.htm&amp;nbsp;" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;to make this run in 3.x conda environment. But the service still crashes... it starts but never finishes.&lt;/P&gt;&lt;P&gt;What could cause an error like this? Is it related to the arcpy.mp/arcpy.mapping compatibility?&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 00:58:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/mappingcore-dll-error-with-arcgis-server-10-8-1-gp/m-p/1056509#M30148</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-05-11T00:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: MappingCore.dll Error with ArcGIS Server (10.8.1) GP service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/mappingcore-dll-error-with-arcgis-server-10-8-1-gp/m-p/1056735#M30153</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2620"&gt;@TanuHoque&lt;/a&gt;&amp;nbsp; - pinging you directly because you helped the other day by directing my attention to the patch for custom printing in ArcGIS Server 10.8.1. That fixed my problem with custom print services created using Pro's Server Tools for Printing &amp;gt;&amp;gt; Export Web Map/Get Layout Templates.&lt;/P&gt;&lt;P&gt;Now, I'm running into issues (see post above) with migrating a more complex custom GP/printing service that uses arcpy.mp, specifically&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;arcpy.mp.ConvertWebMapToArcGISProject( ... )&lt;/LI-CODE&gt;&lt;P&gt;Do you know of any issues in 10.8.1 or needed changes to get what was running in 10.6.1 to work here?&amp;nbsp; I&amp;nbsp; haven't found any changes to arcpy.&lt;/P&gt;&lt;P&gt;It all sounds very similar to what's described in the patch for &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzMzcyOQ==" target="_self"&gt;BUG-000133729&lt;/A&gt;:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;This patch resolves an issue affecting geoprocessing services and print services in ArcGIS Server 10.8.1 that prevents working with or exporting layout templates or reports that contain text elements.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;I'm using a pro custom layout that's used by arcpy,mp along with the JSON from JSAPI to create an in-memory APRX that is then converted to PDF. Works like a charm in my production 10.6.1 environment. In 10.8.1 I'm seeing those DLL errors. Was the patch also to address this kind of thing?&amp;nbsp; I'm trying this on the same ArcGIS Server box that was patched.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arne_Gelfert_0-1620749494610.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13048iF5B5F2F2B8DD5A05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Arne_Gelfert_0-1620749494610.png" alt="Arne_Gelfert_0-1620749494610.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 16:11:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/mappingcore-dll-error-with-arcgis-server-10-8-1-gp/m-p/1056735#M30153</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-05-11T16:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: MappingCore.dll Error with ArcGIS Server (10.8.1) GP service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/mappingcore-dll-error-with-arcgis-server-10-8-1-gp/m-p/1056813#M30154</link>
      <description>&lt;P&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/2620" target="_blank"&gt;@TanuHoque&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; -&amp;nbsp;&lt;/SPAN&gt;Ok, I have stepped through my code line by line.&amp;nbsp;&amp;nbsp;Looks like things bomb when we get to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;layout.exportToPDF(....)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This worked fine in 10.6.1 -- Has anyone run into similar issues or found a solution? Is this another bug or related or some completely separate issue? There was a question asked about layout.exportTo..() in &lt;A href="https://community.esri.com/t5/arcgis-web-appbuilder-questions/cannot-print-very-frustrating-problem/td-p/732644/page/9" target="_self"&gt;this thread&lt;/A&gt; but I don't see an answer other than the patch that didn't fix this for me.&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 18:19:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/mappingcore-dll-error-with-arcgis-server-10-8-1-gp/m-p/1056813#M30154</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-05-11T18:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: MappingCore.dll Error with ArcGIS Server (10.8.1) GP service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/mappingcore-dll-error-with-arcgis-server-10-8-1-gp/m-p/1056999#M30159</link>
      <description>&lt;P&gt;hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/237415"&gt;@Arne_Gelfert&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw your post yesterday and talked to few developers. This one appears different than what we fixed in the patch. Some kind of dll version conflicts could be a reason. I'm glad you narrowed it down to ExportToPDF() call.&lt;/P&gt;&lt;P&gt;Would you mind try on a fresh 10.8 (or 10.8.1) install?&lt;BR /&gt;if that does not fix it, then I'd strongly recommend you to reach out to Esri support and have an analyst take a close look.&lt;/P&gt;&lt;P&gt;I'm afraid I couldn't be much of help this time.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 07:09:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/mappingcore-dll-error-with-arcgis-server-10-8-1-gp/m-p/1056999#M30159</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2021-05-12T07:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: MappingCore.dll Error with ArcGIS Server (10.8.1) GP service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/mappingcore-dll-error-with-arcgis-server-10-8-1-gp/m-p/1057102#M30161</link>
      <description>&lt;P&gt;Thanks for the feedback. Also started working with our TAM on this. Before I do a clean install of the server, I'll try upgrading my ArcGIS Pro to 2.7.x. I see the release notes for 2.7.0 and 2.7.1 are shock full with fixes related to PDF and layout printing. So maybe I get lucky. Stay tuned.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 13:32:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/mappingcore-dll-error-with-arcgis-server-10-8-1-gp/m-p/1057102#M30161</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-05-12T13:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: MappingCore.dll Error with ArcGIS Server (10.8.1) GP service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/mappingcore-dll-error-with-arcgis-server-10-8-1-gp/m-p/1065187#M30422</link>
      <description>&lt;P&gt;So I spent the better part of three weeks trying to dissect this issue with all kinds of help from and reporting back to ESRI. Nothing worked.&lt;/P&gt;&lt;P&gt;The code works in 10.6.1 and fails in 10.8.1.&lt;/P&gt;&lt;P&gt;Finally, I threw n the towel and upgraded to 10.9 on my GP Server only. I call the GP service on that machine after the upgrade and without any additional configurations, environmental changes or code tweaks it &lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;works out of the box&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;. To me that means there is a bug in 10.8.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will upgrade to 10.9 and not look back. I used to consider waiting for the Dot-1 a safe practice but these days it feels like that as much stuff breaks in service packs and patches as gets fixed. So why wait!?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 16:35:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/mappingcore-dll-error-with-arcgis-server-10-8-1-gp/m-p/1065187#M30422</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-06-04T16:35:57Z</dc:date>
    </item>
  </channel>
</rss>

