rhunt01
Well Known Member
I need to call RUNUBEXML by calling it via RPC (don't care about the method of RPC) from another machine.
We are currently running it directly on our NT application server and it works great as long as someone is actually explicitly running it. What I mean is, If I have my RUNUBEXML requests in a bat file and double click on it or actually run it via cmd.exe, it works perfectly.
If we run it via RPC or from a scheduled task (as in NT task) using my very same credentials, it fails with "Could not initialize an ENV handle for User in Environment" (Error code 1).
RUNUBEXML seems to be requiring something from a user profile (which I don't believe is in scope when being called via RPC or via system scheduled task).
Has anyone had much success with the scenario I am describing?
We are currently running it directly on our NT application server and it works great as long as someone is actually explicitly running it. What I mean is, If I have my RUNUBEXML requests in a bat file and double click on it or actually run it via cmd.exe, it works perfectly.
If we run it via RPC or from a scheduled task (as in NT task) using my very same credentials, it fails with "Could not initialize an ENV handle for User in Environment" (Error code 1).
RUNUBEXML seems to be requiring something from a user profile (which I don't believe is in scope when being called via RPC or via system scheduled task).
Has anyone had much success with the scenario I am describing?