|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53665 Issue with DOTNET Fatal error: Uncaught exception 'com_exception' with message
Submitted: 2011-01-06 12:32 UTC Modified: -
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: mariavillalonga at yahoo dot es Assigned:
Status: Open Package: COM related
PHP Version: 5.3.4 OS: Windows 7
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-01-06 12:32 UTC] mariavillalonga at yahoo dot es
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=, 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 


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Oct 25 17:01:24 2020 UTC