Different Behavior Between Interactive Logon and Batch Job/Service Account for COM Object Interaction

N

Nicknake

I'm encountering an issue with a legacy COM object that was developed for local use within my company (I don't have the source code). I have a Java program that interacts with this COM object, specifically calling a method that involves another language.I created a batch file to run this Java program via a scheduled task. Here's the problem:When the task is set to "Run only when user is logged on" (interactive logon), the program produces the expected result.When the task is set to "Run whether user is logged on or not" (as a batch job), the program returns null.The Java environment I'm using

Continue reading...
 
Back
Top Bottom