#31099 [Opn->Bgs]: RPC server unavailable error in COM

From: Date: Wed, 15 Dec 2004 18:29:54 +0000
Subject: #31099 [Opn->Bgs]: RPC server unavailable error in COM
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-70279@lists.php.net to get a copy of this message
ID: 31099 Updated by: wez@php.net Reported By: nick at wyfsd dot org -Status: Open +Status: Bogus Bug Type: COM related Operating System: Win 2k Server PHP Version: 4.3.9 New Comment: You need to configure the remote machine to allow DCOM activation from your server. This is beyond the scope of PHP and the PHP manual and is not a bug _in_ PHP. I suggest you look up this error message in the Microsoft Knowledge base for more useful information. Previous Comments: ------------------------------------------------------------------------ [2004-12-15 17:59:34] nick at wyfsd dot org Description: ------------ When I try and execute my script which uses COM function to execute Word on the users computer, the following error is given: Warning: Unable to obtain IDispatch interface for CLSID {000209FF-0000-0000-C000-000000000046}: The RPC Server is not available. in C:\program files\apache group\apache\htdocs\naseg\meetlist.php on Line 6 Reproduce code: --------------- $ip = $REMOTE_ADDR; $word=new COM("Word.Application", $ip) or die("Cannot start word for you"); My PHP.ini file ([com] section) ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs ;com.typelib_file = ; allow Distributed-COM calls com.allow_dcom = TRUE ; autoregister constants of a components typlib on com_load() com.autoregister_typelib = true ; register constants casesensitive com.autoregister_casesensitive = false ; show warnings on duplicate constat registrations ;com.autoregister_verbose = true ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31099&edit=1

« previous php.bugs (#70279) next »