|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-01-12 17:14 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 20:00:01 2025 UTC |
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