<?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: XSLTransform_conversion works on Windows 7 PC but not on Windows 2008 Server in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/xsltransform-conversion-works-on-windows-7-pc-but/m-p/405875#M31932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lucas, thanks for replying to the thread. I should have made it clear in the original post. The Windows 7 PC is 64 bit and the code runs fine. Python on both machines is 32 bit.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Oct 2013 16:46:57 GMT</pubDate>
    <dc:creator>DanielMcAlister</dc:creator>
    <dc:date>2013-10-04T16:46:57Z</dc:date>
    <item>
      <title>XSLTransform_conversion works on Windows 7 PC but not on Windows 2008 Server</title>
      <link>https://community.esri.com/t5/python-questions/xsltransform-conversion-works-on-windows-7-pc-but/m-p/405873#M31930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I use a small python script to export metadata to xml. It works fine if I run it on a Windows 7 64 bit PC but it will not run on a Windows 2008 Server. We had this issue in 10 and 10.1 and it was defined as a bug/limitation by Esri. It's still an issue in 10.2. Has anyone else come across this? Code is below, error is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last): File "D:\Scripts\exportmetadatawin201.py", line 11, in &amp;lt;module&amp;gt; arcpy.XSLTransform_conversion(Source_Metadata, ExportMetadata_xslt, Output_XML,"") File "D:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\conversion.py", line 1366, in XSLTransform raise e arcgisscripting.ExecuteError: ERROR 000582: Error occurred during execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy, sys


Output_XML = sys.argv[1]

Source_Metadata = "Database Connections/sde to server.sde/" + sys.argv[2]


ExportMetadata_xslt = "d:/Scripts/ExportMetadata.xslt"

arcpy.XSLTransform_conversion(Source_Metadata, ExportMetadata_xslt, Output_XML,"")&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 17:57:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/xsltransform-conversion-works-on-windows-7-pc-but/m-p/405873#M31930</guid>
      <dc:creator>DanielMcAlister</dc:creator>
      <dc:date>2013-10-03T17:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: XSLTransform_conversion works on Windows 7 PC but not on Windows 2008 Server</title>
      <link>https://community.esri.com/t5/python-questions/xsltransform-conversion-works-on-windows-7-pc-but/m-p/405874#M31931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you type import sys, then print sys.version below that, are you running in 64-bit? If so, your issue might be that the tools in the metadata toolset &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002100000040000000"&gt;do not run in 64-bit&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 23:55:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/xsltransform-conversion-works-on-windows-7-pc-but/m-p/405874#M31931</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2013-10-03T23:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: XSLTransform_conversion works on Windows 7 PC but not on Windows 2008 Server</title>
      <link>https://community.esri.com/t5/python-questions/xsltransform-conversion-works-on-windows-7-pc-but/m-p/405875#M31932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lucas, thanks for replying to the thread. I should have made it clear in the original post. The Windows 7 PC is 64 bit and the code runs fine. Python on both machines is 32 bit.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 16:46:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/xsltransform-conversion-works-on-windows-7-pc-but/m-p/405875#M31932</guid>
      <dc:creator>DanielMcAlister</dc:creator>
      <dc:date>2013-10-04T16:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: XSLTransform_conversion works on Windows 7 PC but not on Windows 2008 Server</title>
      <link>https://community.esri.com/t5/python-questions/xsltransform-conversion-works-on-windows-7-pc-but/m-p/405876#M31933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although this is an older post, I ran into this issue with ArcGIS 10.5.1, Python 2.7, Server 2016, and Windows&amp;nbsp;7. My script to update a data catalog ran fine on my Windows&amp;nbsp;7 machine, which also had .Net 3.5 installed. When I went to run it on the Server 2016 box, it continued to fail with a 000582 error similar to above. I thought it may have been because .Net 3.5 was not installed, so I installed it, rebooted, and still nothing. Then I realized I had some custom stylesheets that weren't copied over from the Desktop to the Server. Once I had copied those over, the script worked like a charm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 13:55:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/xsltransform-conversion-works-on-windows-7-pc-but/m-p/405876#M31933</guid>
      <dc:creator>MichelleBoivin</dc:creator>
      <dc:date>2018-07-20T13:55:46Z</dc:date>
    </item>
  </channel>
</rss>

