DCOM function
| From: | Miroslav Eder | Date: | Thu, 04 Jan 2001 17:46:08 +0000 |
| Subject: | DCOM function | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4812@lists.php.net to get a copy of this message | ||
Hi,
I have this problem. I'm using COM function on local PC, but I need to run Excel on another PC.
PHP give me this error:
Warning: Unable to obtain IDispatch interface for CLSID {00024500-0000-0000-C000-000000000046}:
Acces is denied. in C:\Inetpub\wwwroot\somescript.php on line 8
line 8 is like: $Instance = new COM("Excel.Application",
"remote_server_address");
DCOM is enabled in php.ini. PC with PHP is running on WinNT 4 srv, IIS4 and ISAPI PHP4, second PC is
on Win2000 Prof., Office2000. Both computers are logged in the same domain as Administrator, I also
tried run IIS under Administrator account. Still the same result. On local computer with COM (i.e.
new COM command without the second parameter) it works fine - as local I tried both PCs.
Anyone have an idea?
Thanks.
deep