Windows desktop search API in ASP.NET

  • Thread starter Thread starter Paul Yau
  • Start date Start date
P

Paul Yau

Can anyone know how to use WDS API in ASP.NET?

I copied the Win App sample to ASP.NET, but recevied the following
error:


Exception Details: System.InvalidCastException: QueryInterface for
interface Microsoft.Windows.DesktopSearch.Query.ISearchDesktop failed.
 
Can anyone know how to use WDS API in ASP.NET?

I copied the Win App sample to ASP.NET, but recevied the following
error:


Exception Details: System.InvalidCastException: QueryInterface for
interface Microsoft.Windows.DesktopSearch.Query.ISearchDesktop failed.


Have you set AspCompat=true?



Mattias
 
Hi,

I read your posts with great interest and tried integrating the SDKSampleApp
into a Windows Service (with calls to a function performing ExecuteQuery by
Remoting from a WinForms GUI) but also keep receiving the error message:

System.InvalidCastException: QueryInterface for interface
Microsoft.Windows.DesktopSearch.Query.ISearchDesktop failed.

Any thoughts would be much appreciated.

B.
 
Back
Top