#31520 [Opn->Fbk]: Cannot instantiate COM object under Windows 2003 Server
| From: | derick@php.net | Date: | Wed, 12 Jan 2005 17:44:25 +0000 |
| Subject: | #31520 [Opn->Fbk]: Cannot instantiate COM object under Windows 2003 Server | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-71972@lists.php.net to get a copy of this message | ||
ID: 31520
Updated by: derick@php.net
Reported By: khoukaz at web dot de
-Status: Open
+Status: Feedback
Bug Type: COM related
Operating System: Windows 2003 Server
PHP Version: 4.3.9
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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