<?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 2008 C++ redist x64 crashing python processes - 10.6.1 in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/2008-c-redist-x64-crashing-python-processes-10-6-1/m-p/271904#M10432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Has anyone seen a case where if you are running Python 2.7 on ArcGIS Server 10.6.1 when you try to instantiate any _arc_object objects from the gp object the Python process crashes? This happens after the VS C++ 2008 x64 redist is installed on a server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a script that add a mosaic layer to a map document in preparation for printing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.mapping.AddLayer(df2, lyrLayer, "AUTO_ARRANGE")&lt;/P&gt;&lt;P&gt;which in turn does this in mapping.py&lt;/P&gt;&lt;P&gt;data_frame._arc_object.InsertLayer(None, my_copy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this crashes afcore.dll (in my case)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/443723_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it only seems to be c++ 2008 redist - 2005,2010,2013 are all fine (and 2017 obviously)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see that ArcGIS Server has these bundled with it in the bin directory:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/443724_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so does having the c++ 2008 redist installed break this linkage?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the redist installed I see this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/443725_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;it seems to change one of the versions from in the windows winsxs directories&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;9.00.30729.1 to 9.00.21022.8 - though this may be unrelated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esri version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/443726_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:\windows\winSxS version (there are various versions)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/443727_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This server gets c++ 2008 x64 installed for VMWare tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone got any info on how Server registers the baked in c++ 2008 dlls and how installing the redist breaks it. More to the point the best way to recover it - uninstalling and reinstalling 2017 seems to work sometimes but not always!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Fraser&lt;/P&gt;&lt;PRE style="color: #a9b7c6; background-color: #2b2b2b; font-size: 9.0pt;"&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Apr 2019 04:29:43 GMT</pubDate>
    <dc:creator>FraserHand1</dc:creator>
    <dc:date>2019-04-24T04:29:43Z</dc:date>
    <item>
      <title>2008 C++ redist x64 crashing python processes - 10.6.1</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/2008-c-redist-x64-crashing-python-processes-10-6-1/m-p/271904#M10432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Has anyone seen a case where if you are running Python 2.7 on ArcGIS Server 10.6.1 when you try to instantiate any _arc_object objects from the gp object the Python process crashes? This happens after the VS C++ 2008 x64 redist is installed on a server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a script that add a mosaic layer to a map document in preparation for printing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.mapping.AddLayer(df2, lyrLayer, "AUTO_ARRANGE")&lt;/P&gt;&lt;P&gt;which in turn does this in mapping.py&lt;/P&gt;&lt;P&gt;data_frame._arc_object.InsertLayer(None, my_copy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this crashes afcore.dll (in my case)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/443723_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it only seems to be c++ 2008 redist - 2005,2010,2013 are all fine (and 2017 obviously)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see that ArcGIS Server has these bundled with it in the bin directory:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/443724_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so does having the c++ 2008 redist installed break this linkage?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the redist installed I see this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/443725_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;it seems to change one of the versions from in the windows winsxs directories&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;9.00.30729.1 to 9.00.21022.8 - though this may be unrelated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esri version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/443726_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:\windows\winSxS version (there are various versions)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/443727_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This server gets c++ 2008 x64 installed for VMWare tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone got any info on how Server registers the baked in c++ 2008 dlls and how installing the redist breaks it. More to the point the best way to recover it - uninstalling and reinstalling 2017 seems to work sometimes but not always!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Fraser&lt;/P&gt;&lt;PRE style="color: #a9b7c6; background-color: #2b2b2b; font-size: 9.0pt;"&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 04:29:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/2008-c-redist-x64-crashing-python-processes-10-6-1/m-p/271904#M10432</guid>
      <dc:creator>FraserHand1</dc:creator>
      <dc:date>2019-04-24T04:29:43Z</dc:date>
    </item>
  </channel>
</rss>

