|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-12-07 12:41 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2020-12-07 12:41 UTC] cmb@php.net
[2020-12-20 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 22:00:01 2025 UTC |
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