COM advice ...

From: Date: Thu, 24 Oct 2002 20:30:38 +0000
Subject: COM advice ...
Groups: php.windows 
Request: Send a blank email to php-windows+get-16532@lists.php.net to get a copy of this message
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.

Attachment: [application/x-pkcs7-signature] smime.p7s
« previous php.windows (#16532) next »