#31520 [Fbk->Opn]: Cannot instantiate COM object under Windows 2003 Server
ID: 31520
User updated by: khoukaz at web dot de
Reported By: khoukaz at web dot de
-Status: Feedback
+Status: Open
Bug Type: COM related
Operating System: Windows 2003 Server
PHP Version: 4.3.9
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2005-01-12 18:44:25] derick@php.net
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
Thread (6 messages)