<?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 001270 : Consolidating the data failed on scheduled task in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/001270-consolidating-the-data-failed-on-scheduled/m-p/637482#M49652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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, &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00vp0000002r001270" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00vp0000002r001270&lt;/A&gt;&lt;SPAN&gt;, but I don't think that this applies to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm doing something similar to this &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://blogs.esri.com/esri/arcgis/2013/04/23/updating-arcgis-com-hosted-feature-services-with-python/" rel="nofollow" target="_blank"&gt;http://blogs.esri.com/esri/arcgis/2013/04/23/updating-arcgis-com-hosted-feature-services-with-python/&lt;/A&gt;&lt;SPAN&gt;. 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)."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone any idea why this is happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tiago&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 May 2013 14:30:17 GMT</pubDate>
    <dc:creator>TiagoRibeiro</dc:creator>
    <dc:date>2013-05-01T14:30:17Z</dc:date>
    <item>
      <title>001270 : Consolidating the data failed on scheduled task</title>
      <link>https://community.esri.com/t5/python-questions/001270-consolidating-the-data-failed-on-scheduled/m-p/637482#M49652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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, &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00vp0000002r001270" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00vp0000002r001270&lt;/A&gt;&lt;SPAN&gt;, but I don't think that this applies to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm doing something similar to this &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://blogs.esri.com/esri/arcgis/2013/04/23/updating-arcgis-com-hosted-feature-services-with-python/" rel="nofollow" target="_blank"&gt;http://blogs.esri.com/esri/arcgis/2013/04/23/updating-arcgis-com-hosted-feature-services-with-python/&lt;/A&gt;&lt;SPAN&gt;. 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)."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone any idea why this is happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tiago&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 14:30:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/001270-consolidating-the-data-failed-on-scheduled/m-p/637482#M49652</guid>
      <dc:creator>TiagoRibeiro</dc:creator>
      <dc:date>2013-05-01T14:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: 001270 : Consolidating the data failed on scheduled task</title>
      <link>https://community.esri.com/t5/python-questions/001270-consolidating-the-data-failed-on-scheduled/m-p/637483#M49653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 14:56:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/001270-consolidating-the-data-failed-on-scheduled/m-p/637483#M49653</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2013-05-01T14:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: 001270 : Consolidating the data failed on scheduled task</title>
      <link>https://community.esri.com/t5/python-questions/001270-consolidating-the-data-failed-on-scheduled/m-p/637484#M49654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply Michael.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once again thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 08:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/001270-consolidating-the-data-failed-on-scheduled/m-p/637484#M49654</guid>
      <dc:creator>TiagoRibeiro</dc:creator>
      <dc:date>2013-05-02T08:32:49Z</dc:date>
    </item>
  </channel>
</rss>

