Hi,
I'm working on a c# program that accesses an Indexing Service through
a web service using a System.Data.OleDb.OleDbConnection.
Here's the query:
SELECT PATH FROM "localhost"."Catalog"..SCOPE('DEEP TRAVERSAL OF
"\Catalog\path" ') WHERE CONTAINS(Contents, '"test"')
Attempting to execute the query throws an exception with this message:
System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> System.Data.OleDb.OleDbException: Invalid
catalog name 'Catalog'. SQLSTATE=42000
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult
(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object&
executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior
behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal
(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior
behavior)
at
System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader()
------------------
I've given full permissions to Everyone through HKEY_LOCAL_MACHINE/
SYSTEM/CurrentControlSet/Control/ContentIndex.
I'd appreciate any help you can offer.
Thanks,
Daniel Sheiner