Hi there,
I thought I'd just drop a note with some advice that might be of use to you all. I am running some command line scripts which activate Cognos Impromptu via the COM interface.
We are activating these scripts via scheduled tasks on a Windows 2000 server. We found that the COM interface would work when the scripts were run by the user, but when run by scheduled tasks - the COM part of the script failed.
We checked everything we could think of - permissions on program directories ... log on settings ... local admin settings ... security fields and could find no problem.
Finally - we found the problem in the "Component Services" screen. You will find that there are two default permission settings on the "computer" object. If the user running the task (specifically when running a scheduled task) does not have permission to launch or access the com object - it will fail.
Anyway - it might save someone a bit of time in the future!
Cheers,
Michael.
smime.p7s
Description: application/pkcs7-signature