jvseagle-co-nz-esridist

ArcPy 10.1 StageService fails

Discussion created by jvseagle-co-nz-esridist Employee on Jul 2, 2013
Latest reply on Jul 12, 2016 by thanos_cp78
Hi,

When executing the line arcpy.StageService_server(sddraft, sd) in ArcPy 10.1 using both PythonWin and VS2012 it fails with the error:
ERROR:root:ERROR 001269: Compressing the service definition failed.

I have noticed that this error is mentioned in the link thus it is not very helpful:
http://resources.arcgis.com/en/help/main/10.1/index.html#//00vp0000002r001269

The folder where the service definition is being written has all the appropriate permission.
If I execute the script inside ArcMap or ArcGIS for Server the line works just fine.

Can I have more help here?

Cheers,
Jose

Outcomes