<?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 ArcObjects exe does not run as a scheduled task in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-exe-does-not-run-as-a-scheduled-task/m-p/746757#M19854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a .NET application using ArcObjects. It runs fine from the desktop, but fails to start when run as a scheduled task. The error it gives is: &lt;EM&gt;Failed to bind to an ArcGIS Server runtime. Ensure that the specified runtime is installed before running this application&lt;/EM&gt; or &lt;EM&gt;Unable to initialize an ArcGIS 10.2 license. Could not find any of the following product license(s): Engine, Basic, Standard, Advanced&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I found some other threads regarding this issue, but none of the answers solved my problem.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;To set the task to run with highest privileges&lt;/LI&gt;&lt;LI&gt;Run the task as users SYSTEM, NETWORK SERVICE, Arcgis (i.e. the arcgis server account), and a newly added user (both with and without membership of Administrators group). All users give the same error.&lt;/LI&gt;&lt;LI&gt;Tried to see if the new user can actually start ArcMap: it can.&lt;/LI&gt;&lt;LI&gt;Explicitely bind to ProductCode.Server, or to ProductCode.DesktopOrEngine. No difference&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My system is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Windows Server 2008 RC2&lt;/LI&gt;&lt;LI&gt;ArcGIS Server Enterprise 10.2.2&lt;/LI&gt;&lt;LI&gt;ArcGIS Desktop 10.2.2 with Single use ArcEditor license&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Oct 2014 15:54:16 GMT</pubDate>
    <dc:creator>BerendVeldkamp</dc:creator>
    <dc:date>2014-10-31T15:54:16Z</dc:date>
    <item>
      <title>ArcObjects exe does not run as a scheduled task</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-exe-does-not-run-as-a-scheduled-task/m-p/746757#M19854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a .NET application using ArcObjects. It runs fine from the desktop, but fails to start when run as a scheduled task. The error it gives is: &lt;EM&gt;Failed to bind to an ArcGIS Server runtime. Ensure that the specified runtime is installed before running this application&lt;/EM&gt; or &lt;EM&gt;Unable to initialize an ArcGIS 10.2 license. Could not find any of the following product license(s): Engine, Basic, Standard, Advanced&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I found some other threads regarding this issue, but none of the answers solved my problem.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;To set the task to run with highest privileges&lt;/LI&gt;&lt;LI&gt;Run the task as users SYSTEM, NETWORK SERVICE, Arcgis (i.e. the arcgis server account), and a newly added user (both with and without membership of Administrators group). All users give the same error.&lt;/LI&gt;&lt;LI&gt;Tried to see if the new user can actually start ArcMap: it can.&lt;/LI&gt;&lt;LI&gt;Explicitely bind to ProductCode.Server, or to ProductCode.DesktopOrEngine. No difference&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My system is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Windows Server 2008 RC2&lt;/LI&gt;&lt;LI&gt;ArcGIS Server Enterprise 10.2.2&lt;/LI&gt;&lt;LI&gt;ArcGIS Desktop 10.2.2 with Single use ArcEditor license&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 15:54:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-exe-does-not-run-as-a-scheduled-task/m-p/746757#M19854</guid>
      <dc:creator>BerendVeldkamp</dc:creator>
      <dc:date>2014-10-31T15:54:16Z</dc:date>
    </item>
  </channel>
</rss>

