<?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 Python Script/Scheduled Task Fails when run as local user in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/python-script-scheduled-task-fails-when-run-as/m-p/503616#M16759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On Windows 2003 server as a remote user: 1) Converted Model to Python script - executed fine as model and python script 2) Added exception handling logging to python script - executed fine &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;** At this point the script runs fine as a scheduled task &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Wanted to run the same python script/task as a local user. The new local user "Scheduler" will have a password that does not expire. The user also belongs to the "Administrator" group as does I (remote user). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On Windows 2003 server as a local user: 4) Tried running the script/task as the "Scheduler" user and it fails when it tried to "Make a Table View" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;** I can run simpler python scripts (print to sreen) as "Scheduler" but doesn't seem to like the geoprocessing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Plaese help ASAP. Thanks! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Windows 2003 64bit&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Python 2.5.1&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;ArcGIS/ArcInfo 9.3.1&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;ArcSDE 9.3.1&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;ArcGIS Server 9.3.1&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jun 2010 21:25:50 GMT</pubDate>
    <dc:creator>JK</dc:creator>
    <dc:date>2010-06-23T21:25:50Z</dc:date>
    <item>
      <title>Python Script/Scheduled Task Fails when run as local user</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-scheduled-task-fails-when-run-as/m-p/503616#M16759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On Windows 2003 server as a remote user: 1) Converted Model to Python script - executed fine as model and python script 2) Added exception handling logging to python script - executed fine &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;** At this point the script runs fine as a scheduled task &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Wanted to run the same python script/task as a local user. The new local user "Scheduler" will have a password that does not expire. The user also belongs to the "Administrator" group as does I (remote user). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On Windows 2003 server as a local user: 4) Tried running the script/task as the "Scheduler" user and it fails when it tried to "Make a Table View" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;** I can run simpler python scripts (print to sreen) as "Scheduler" but doesn't seem to like the geoprocessing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Plaese help ASAP. Thanks! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Windows 2003 64bit&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Python 2.5.1&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;ArcGIS/ArcInfo 9.3.1&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;ArcSDE 9.3.1&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;ArcGIS Server 9.3.1&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 21:25:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-scheduled-task-fails-when-run-as/m-p/503616#M16759</guid>
      <dc:creator>JK</dc:creator>
      <dc:date>2010-06-23T21:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script/Scheduled Task Fails when run as local user</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-scheduled-task-fails-when-run-as/m-p/503617#M16760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the error message that you are being given?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jun 2010 11:45:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-scheduled-task-fails-when-run-as/m-p/503617#M16760</guid>
      <dc:creator>ChrisMathers</dc:creator>
      <dc:date>2010-06-24T11:45:11Z</dc:date>
    </item>
  </channel>
</rss>

