Did you check:
http://www.php.net/manual/de/install.iis.php#install.iis.iis4
You seem to have a permission problem.
Don't forget that PHP code works on the server side, so you need to
have word enabled for your server.
Also check the win2k process list because for every time the script crashes
you have a winword.exe sitting there.
Alain
On Tue, Aug 28, 2001 at 12:29:42PM -0500, Mize, Robert wrote:
> I am having issues instantiating word or excel using COM.
>
> I get the error:
> Warning: Unable to obtain IDispatch interface for CLSID
> {000209FF-0000-0000-C000-000000000046}: Access is denied. in
> C:\Inetpub\wwwroot\website\excel\word.php on line 3
> Unable to instanciate Word
> Line 3 is:
> $word = new COM("word.application") or die("Unable to instantiate Word");
>
> I have changed permissions everywhere I can think of (office executables and
> web dirs), I have added com.allow_dcom = true to php.ini. I'm not sure
> what else to try.
>
> Anyone know what I am doing wrong?
>
> Thanks,
> rob.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]