RE: [PHP-WIN] PHP and Word via COM
| From: | Beowulf | Date: | Fri, 03 Nov 2000 12:23:07 +0000 |
| Subject: | RE: [PHP-WIN] PHP and Word via COM | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3659@lists.php.net to get a copy of this message | ||
Maybe you didn't install Word on your NT4.0 server !
______________________________
/ Beowulf_pa@ThePentagon.com \
|^^^^^^| / ICQ: 1776271 \
| | |---------------------------------|
| | | L'amour, c'est un sport. |
| (o)(o) o | Surtout s'il y en a un des deux |
@ _) o | qui veut pas. |
| ,___| o \ - Jean Yanne - /
| / ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/____\
-----Original Message-----
From: William Lai [mailto:wlskspam@usa.net]
Sent: Friday, November 03, 2000 11:00 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] PHP and Word via COM
Hello All,
I run a script that calls MS Word 2000 (new COM("Word.Appplication")) to
manipulate several word files. The script runs fine in my computer with PWS
and PHP 4.0.3pl1. However, when I put the script to our NT Server 4 (running
IIS4 and PHP 4.03pl1), the following error occurs:
Warning: Unable to obtain IDispatch interface for CLSID
{000209FF-0000-0000-C000-000000000046}: Server execution failed in
office.inc on line 80
Fatal error: Maximum execution time of 30 seconds exceeded in office.inc on
line 80
I think this is security problem so I add IUSR account to the local group
administrator. I also checked the "Allow Service to interact with desktop"
for the world wide web publishing service. The error still occurs.
Do anyone have solution for this problem?
William
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net