<?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 Re: Scheduled Append task returning 0x1 error in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/scheduled-append-task-returning-0x1-error/m-p/1225707#M61576</link>
    <description>&lt;P&gt;Is this a MapService?&amp;nbsp; I had similar issues trying to append to SDE dataset(s) that are utilized in services due to the schema locking.&lt;/P&gt;&lt;P&gt;At first, I would run script to stop the required services, then do my append, then restart the service.&lt;/P&gt;&lt;P&gt;For most of them now, I have found that in the service properties (of mapservice), you can disable the schema locking and I can truncate/append at will with no errors.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2022 15:53:40 GMT</pubDate>
    <dc:creator>RhettZufelt</dc:creator>
    <dc:date>2022-10-26T15:53:40Z</dc:date>
    <item>
      <title>Scheduled Append task returning 0x1 error</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/scheduled-append-task-returning-0x1-error/m-p/1225684#M61574</link>
      <description>&lt;P&gt;I update a point layer on a SQL server enterprise geodatabase by scheduling a Truncate and Append job in ArcPro every night.&amp;nbsp; &amp;nbsp; &amp;nbsp;The scheduled jobs are python scripts are Windows Task Scheduled jobs where the scripts are located in&lt;STRONG&gt;&amp;nbsp;C:\Users\myuser\AppData\Local\ESRI\ArcGISPro\Geoprocessing\ScheduledTools&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This method has worked well until the point layer was connected to a published map in the WebApp.&amp;nbsp; &amp;nbsp;Now, every night, the Truncate tool runs, emptying the layer, but the Append returns an 0x1 error in Task Scheduler.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a hard time tracing the error, as the tool "runs" but doesn't actually append any records.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd also like to know if there's a more Esri approved method for pipelining data like this, updating from local geodatabase to Enterprise to ArcOnline/Web?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 15:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/scheduled-append-task-returning-0x1-error/m-p/1225684#M61574</guid>
      <dc:creator>CraigFreeman2</dc:creator>
      <dc:date>2022-10-26T15:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Append task returning 0x1 error</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/scheduled-append-task-returning-0x1-error/m-p/1225707#M61576</link>
      <description>&lt;P&gt;Is this a MapService?&amp;nbsp; I had similar issues trying to append to SDE dataset(s) that are utilized in services due to the schema locking.&lt;/P&gt;&lt;P&gt;At first, I would run script to stop the required services, then do my append, then restart the service.&lt;/P&gt;&lt;P&gt;For most of them now, I have found that in the service properties (of mapservice), you can disable the schema locking and I can truncate/append at will with no errors.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 15:53:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/scheduled-append-task-returning-0x1-error/m-p/1225707#M61576</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2022-10-26T15:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Append task returning 0x1 error</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/scheduled-append-task-returning-0x1-error/m-p/1225741#M61583</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; I'll try this out.&amp;nbsp; &amp;nbsp;It's curious that Truncate runs fine despite the schema locks.&amp;nbsp; Did you see the same issue?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 16:38:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/scheduled-append-task-returning-0x1-error/m-p/1225741#M61583</guid>
      <dc:creator>CraigFreeman2</dc:creator>
      <dc:date>2022-10-26T16:38:22Z</dc:date>
    </item>
  </channel>
</rss>

