<?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 Publishing SD in Citrix XenApp environment in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/publishing-sd-in-citrix-xenapp-environment/m-p/565119#M44221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need help figuring out why my publishing efforts fail. I have used the same Python script on my desktop and published many service definitions.&amp;nbsp; Now, I am working in a virtual desktop environment (Citrix XenApp) using ArcGIS 10.1 and trying to publish a service definition using Python script from ArcMap and getting the following errors: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Runtime error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 12, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\utils.py", line 181, in fn_return fn(*args, **kw)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\mapping.py", line 382, in CreateMapSDDraft&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return convertArcObjectToPythonObject(arcgisscripting._createMapSDDraft(*gp_fixargs([map_document, out_sddraft, service_name, server_type, connection_file_path, copy_data_to_server, folder_name, summary, tags], True, False)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ValueError: H:\FolderRedir\Win2008TA\Application Data\ESRI\Desktop10.1\ArcCatalog rcgis on geo002app.boc.ad.census.gov_6080 (publisher).ag&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The H is my virtual desktop drive.&amp;nbsp; I am also attaching my script to this request.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would be grateful if anyone can help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mehrshad,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;U.S. Census Bureau&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2014 12:45:55 GMT</pubDate>
    <dc:creator>MehrshadNourani</dc:creator>
    <dc:date>2014-04-02T12:45:55Z</dc:date>
    <item>
      <title>Publishing SD in Citrix XenApp environment</title>
      <link>https://community.esri.com/t5/python-questions/publishing-sd-in-citrix-xenapp-environment/m-p/565119#M44221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need help figuring out why my publishing efforts fail. I have used the same Python script on my desktop and published many service definitions.&amp;nbsp; Now, I am working in a virtual desktop environment (Citrix XenApp) using ArcGIS 10.1 and trying to publish a service definition using Python script from ArcMap and getting the following errors: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Runtime error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 12, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\utils.py", line 181, in fn_return fn(*args, **kw)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\mapping.py", line 382, in CreateMapSDDraft&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return convertArcObjectToPythonObject(arcgisscripting._createMapSDDraft(*gp_fixargs([map_document, out_sddraft, service_name, server_type, connection_file_path, copy_data_to_server, folder_name, summary, tags], True, False)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ValueError: H:\FolderRedir\Win2008TA\Application Data\ESRI\Desktop10.1\ArcCatalog rcgis on geo002app.boc.ad.census.gov_6080 (publisher).ag&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The H is my virtual desktop drive.&amp;nbsp; I am also attaching my script to this request.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would be grateful if anyone can help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mehrshad,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;U.S. Census Bureau&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 12:45:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/publishing-sd-in-citrix-xenapp-environment/m-p/565119#M44221</guid>
      <dc:creator>MehrshadNourani</dc:creator>
      <dc:date>2014-04-02T12:45:55Z</dc:date>
    </item>
  </channel>
</rss>

