Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

ArcObjects fail when running scheduled task

$
0
0
Hi!

We have an application that is used to load shp to sde, sde to sde and sde to shp using the exes to perform these tasks. You can run this application via a GUI, or in silent mode through a .bat file and supplying the needed arguments (load, truncate, delete, version# etc). Running via the GUI works fine, running a .bat file works fine too, except when you try to schedule a task with it.

A scheduled task generates an error saying "Failed to initialize ArcObjects at ...". I've tried running the task scheduler with different user accounts (all of them admins on the machine), right clicking and running the scheduler as admin.

I am out of ideas and still haven't solved this. Is this a problem with ArcObjects or is it simply a problem with privileges for the user? Any help towards solving this would be greatly appreciated.

Regards
Johan Carlsson

Viewing all articles
Browse latest Browse all 1374

Trending Articles