in reply to Can't create Win32::OLE object

I'm taking you're trying to run your new code on the same machine and the same way as the other script?

Replies are listed 'Best First'.
Re^2: Can't create Win32::OLE object
by EyeOpener (Scribe) on Jun 10, 2005 at 20:05 UTC
    Doh! I figured it out - there was an abandoned ftp process from an earlier failed runthrough of the script. I killed the process, and my script runs fine now. Apparently it couldn't create another instance of this process with one still hanging out there, or something like that. Sigh...
      Apparently it couldn't create another instance of this process with one still hanging out there

      I don't think it even tries. If the application is already running, it will send the commands to that process. That means it was sending commands to (and waiting for a reply from) the non-responsive process. I'm not too sure about this.

Re^2: Can't create Win32::OLE object
by EyeOpener (Scribe) on Jun 10, 2005 at 19:55 UTC
    Yes, same machine, both scripts are scheduled with Task Manager with the same service account. Weird, eh?