Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > #30461 : "Failed to Instantiate .Net Object" error (again)
User Name
REGISTER NOW! Mark Forums Read

sponsored links

1 21st March 23:37
External User
Posts: 1
Default #30461 : "Failed to Instantiate .Net Object" error (again)

ID: 30461
Updated by:
Reported By: dave dot fazio at annulet dot com
-Status: Feedback
+Status: No Feedback
Bug Type: COM related
Operating System: Server 2003 Standard
PHP Version: 5CVS-2004-10-16 (dev)
Assigned To: wez
New Comment:

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

Previous Comments:

[2005-02-13 14:50:51]

Please try using this CVS snapshot:

For Windows:


[2004-10-16 22:11:44] dave dot fazio at annulet dot com

Same error as previsouly described in closed Bug #29490 plus others,
PHP returns error when creating .NET (dotnet) object.
PHP is installed as ISAPI module.

Reproduceable on all snapshots post 5.2. Confirmed .NET 1.1 framework
installed, arrows-up in iis. Even rebuilt server from scratch - same

Interestingly, refreshing this "failed" page always produces the more
general "PHP has encountered an Access Violation in ******", and this
is repeated with any subsequest COM or DOTNET until IIS is restart.

Reproduce code:
$stack = new DOTNET("mscorlib", "System.Collections.Stack");
$stack->Push("Hello ");
echo $stack->Pop() . $stack->Pop();

Expected result:
"Hello .Net"

Actual result:
First time executed:

"Fatal error: Uncaught exception 'com_exception' with message 'Failed
to instantiate .Net object [CreateInstance] [0x80070057] The parameter
is incorrect. ' in C:\webtest\test-3.php:16 Stack trace: #0 {main}
thrown in C:\webtest\test-3.php on line 16"

All subsequent attempts until IIS restart:

"PHP has encountered an Access Violation at 01106AED"


Edit this bug report at
  Reply With Quote

  sponsored links


Thread Tools
Display Modes

Copyright 2006 - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -