Select to view content in your preferred language

001270 : Consolidating the data failed on scheduled task

955
2
Jump to solution
05-01-2013 07:30 AM
TiagoRibeiro
Deactivated User
Hi everyone,

I'm getting a "ERROR 001270: Consolidating the data failed. Failed to execute (StageService)." when running a python script as scheduled task. I looked into the help for this error, http://resources.arcgis.com/en/help/main/10.1/index.html#//00vp0000002r001270, but I don't think that this applies to me.

I'm doing something similar to this http://blogs.esri.com/esri/arcgis/2013/04/23/updating-arcgis-com-hosted-feature-services-with-python.... Have the script done and works fine when I run it on ArcMap and as schedule task on Windows 7 Ultimate 64bit. I moved it to our server, a Windows Server 2008 R2 64Bit, and although it the script runs on ArcMAP without a hitch, when I try to run it as a scheduled task, or even through command line, the same error pop's up when staging: "ERROR 001270: Consolidating the data failed. Failed to execute (StageService)."

Has anyone any idea why this is happening?

Cheers,

Tiago
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
TiagoRibeiro
Deactivated User
Thanks for your reply Michael.
This is kinda of embarrassing... After a lot of trials and errors, I noticed that in one of the parameters, a file path, I had 2 backslashes... I removed them and now it works!
Once again thanks for your help.

View solution in original post

0 Kudos
2 Replies
MichaelVolz
Esteemed Contributor
Do you know if it is trying to run as a 32 bit process on your 64 bit server when run as a scheduled task?
0 Kudos
TiagoRibeiro
Deactivated User
Thanks for your reply Michael.
This is kinda of embarrassing... After a lot of trials and errors, I noticed that in one of the parameters, a file path, I had 2 backslashes... I removed them and now it works!
Once again thanks for your help.
0 Kudos