RE: [PHP-WIN] DCOM function
| From: | Ertan Tike | Date: | Fri, 05 Jan 2001 06:12:08 +0000 |
| Subject: | RE: [PHP-WIN] DCOM function | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4824@lists.php.net to get a copy of this message | ||
you must use the dcomcnfg.exe utility,
you can add/change security etc. options from this tool.
-----Original Message-----
From: Miroslav Eder [mailto:deepx@volny.cz]
Sent: Thursday, January 04, 2001 7:46 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] DCOM function
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