Bug #53665 [NEW]: Issue with DOTNET Fatal error: Uncaught exception 'com_exception' with message
| From: | mariavillalonga at yahoo dot es | Date: | Thu, 06 Jan 2011 11:32:53 +0000 |
| Subject: | Bug #53665 [NEW]: Issue with DOTNET Fatal error: Uncaught exception 'com_exception' with message | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-157659@lists.php.net to get a copy of this message | ||
From:
Operating system: Windows 7
PHP version: 5.3.4
Package: COM related
Bug Type: Bug
Bug description:Issue with DOTNET Fatal error: Uncaught exception 'com_exception' with
message
Description:
------------
I'm developing a web application that uses Windows Search to find files in
a server. When I'm trying to instantiate a CSearchManager object, I get an
error message.
Test script:
---------------
$assembly = 'Microsoft.Search.Interop, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=9f748985a6e9a7cb, processorArchitecture=MSIL';
$namespace = "Microsoft.Search.Interop";
$class = "CSearchManager";
$manager = new DOTNET($assembly, $namespace.$class);
Actual result:
--------------
Fatal error: Uncaught exception 'com_exception' with message 'Failed to
instantiate .Net object [CreateInstance] [0x80070002] The system cannot
find the file specified. ' in C:\Websites\ThesisIntra\digarc\index.php:374
Stack trace: #0 C:\Websites\ThesisIntra\digarc\index.php(374):
dotnet->dotnet('Microsoft.Searc...', 'Microsoft.Searc...') #1 {main} thrown
in C:\Websites\ThesisIntra\digarc\index.php on line 374
--
Edit bug report at http://bugs.php.net/bug.php?id=53665&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53665&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53665&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53665&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53665&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53665&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53665&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53665&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53665&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53665&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53665&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53665&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53665&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53665&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53665&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53665&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53665&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53665&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53665&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53665&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53665&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53665&r=mysqlcfg