#41055 [NEW]: DOTNET not instantiating fully-pathed assembly
From: daarond at gmail dot com
Operating system: WinXP
PHP version: 5CVS-2007-04-11 (snap)
PHP Bug Type: COM related
Bug description: DOTNET not instantiating fully-pathed assembly
Description:
------------
Bug #29800 did not pursue it, but I would like to go forward with
resolving it.
I have a strongly-typed assembly that I added to the GAC. By the way, the
simplest way to get the token information is to use gacutil with the /l
switch.
To fully reproduce it, you can download the DLLs I am using:
http://www.angorasoftware.com/test/Core.zip
Reproduce code:
---------------
<?php
$dotobj = new DOTNET("watin.core, Version=1.1.0.1001, Culture=neutral,
PublicKeyToken=b26a14bb9ccc0290, processorArchitecture=MSIL",
"WatiN.Core.IE");
$dotobj = null;
?>
Expected result:
----------------
It should open a web page.
Actual result:
--------------
PHP Fatal error: Uncaught exception 'com_exception' with message 'Failed
to instantiate .Net object [CreateInstance] [0x80131604] ' in
C:\PHP5\wtest.php:3
Stack trace:
#0 C:\PHP5\wtest.php(3): dotnet->dotnet('watin.core, Ver...',
'WatiN.Core.IE')
#1 {main}
thrown in C:\PHP5\wtest.php on line 3
--
Edit bug report at http://bugs.php.net/?id=41055&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41055&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41055&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41055&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41055&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=41055&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41055&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41055&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41055&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41055&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41055&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=41055&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=41055&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41055&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41055&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41055&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41055&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41055&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41055&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41055&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41055&r=mysqlcfg
Thread (5 messages)
- daarond at gmail dot com