From:             nick at wyfsd dot org
Operating system: Win 2k Server
PHP version:      4.3.9
PHP Bug Type:     COM related
Bug description:  RPC server unavailable error in COM

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 bug report at http://bugs.php.net/?id=31099&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31099&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31099&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31099&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31099&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31099&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31099&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31099&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31099&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31099&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31099&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31099&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31099&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31099&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31099&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31099&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31099&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31099&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31099&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31099&r=mysqlcfg

Reply via email to