Publishing SD in Citrix XenApp environment

373
0
04-02-2014 05:45 AM
MehrshadNourani
New Contributor III
Hi All,

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.  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:

Runtime error:

Traceback (most recent call last):
  File "<string>", line 12, in <module>
  File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\utils.py", line 181, in fn_return fn(*args, **kw)
  File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\mapping.py", line 382, in CreateMapSDDraft
    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)))
ValueError: H:\FolderRedir\Win2008TA\Application Data\ESRI\Desktop10.1\ArcCatalog rcgis on geo002app.boc.ad.census.gov_6080 (publisher).ag

The H is my virtual desktop drive.  I am also attaching my script to this request. 

I would be grateful if anyone can help.

Thanks,
Mehrshad,
U.S. Census Bureau
Tags (2)
0 Kudos
0 Replies