Jump to content

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


Recommended Posts

Guest Nicknake
Posted

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...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...