ID: 31520 User updated by: khoukaz at web dot de Reported By: khoukaz at web dot de Status: Open Bug Type: COM related Operating System: Windows 2003 Server PHP Version: 4.3.9/5.0.3 New Comment:
One more hint: If i use dcomcnfg on my Windows 2003 Server to specify the corresponding application to run on another computer (Windows XP Prof), everything works fine. Unfortunately i cannot use this configuration... Any idea? Chris Previous Comments: ------------------------------------------------------------------------ [2005-01-13 13:23:31] khoukaz at web dot de I tested it with PHP 5.0.3 on Windows 2003 Server and it's the same error: Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `<...>': The server process could not be started because the configured identity is incorrect. Check the username and password. ' in c:\program files\apache group\Apache\htdocs\test.php:7 Stack trace: #0 c:\program files\apache group\Apache\htdocs\test.php(7): com->com('<...>') #1 {main} thrown in c:\program files\apache group\Apache\htdocs\test.php on line 7 So it really seems to be a bug in conjunction with Windows 2003 Server. Chris ------------------------------------------------------------------------ [2005-01-13 09:11:20] khoukaz at web dot de No, it's the same behaviour. The only difference is that the request takes some seconds now. Afterwards the error "The page cannot be displayed" appears in the browser. In the error.log file there's an entry with the error described below (Unable to obtain IDispatch interface for CLSID ...). Chris ------------------------------------------------------------------------ [2005-01-12 18:44:25] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2005-01-12 17:14:38] khoukaz at web dot de Description: ------------ I'm not able to instantiate an object of my COM interface under Windows 2003 Server. I'm using the following code: $obj = new COM(" <ProgID> "); Under all other windows oporationg system it works fine, but not with Windows 2003 Server. The error message is: Warning: (null)(): Unable to obtain IDispatch interface for CLSID {C9E9F131-B9B5-4779-8267-D67B50EEBC20}: The server process could not be started because the configured identity is incorrect. Check the username and password. in c:\program files\apache group\apache\htdocs\test.php on line 7 Surprinsingly $shell= &new COM('WScript.Shell') for example makes no problems. So what is wrong with my COM interface? I'm using PHP with apache 1.3.26 as a module. Thanks in advance Chris ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31520&edit=1