I do not have an exact answer for you; sorry.

However, if you are not planning to check the return value of every
COM call, I would recommend adding these lines near the start of your
script:

  # In general, bomb out completely if COM engine encounters any trouble.
  Win32::OLE->Option ('Warn' => 3);

Then at least you will get something on stderr if there is a problem
(e.g., permissions, which may be your issue here).

I don't use IIS, but I would assume the stderr of CGI scripts goes to
some log file or other.

 - Pat
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to