Last post Oct 21, 2013 06:38 AM by Discussion26
Sep 25, 2013 09:37 AM|Discussion26|LINK
I m creating catalog on Microsoft Indexing Services on my machine's computer management console.
This catalog need to be added/deleted from asp.net web application.
I want to search document existing my web application's physical folder.
Now i m getting error while removing scope of catalog which i dont want.In
the bellow line:
plz help me to overcome this.
Sep 26, 2013 11:02 PM|Angie xu - MSFT|LINK
I can hardly troubleshoot just according to your description above,
Please refer to sample codes below, I think it will be good reference. To remove a search scope, call the method RemoveScope() on the Catalog object and pass along the path of the search scope.
private void RemoveScope_Click(object sender, EventArgs e)
string CatalogName = ListOfCatalogs.SelectedItems.Text;
string ScopePath =
// ask the user to confirm the deletion of the search scope
if (MessageBox.Show(this, ConfirmDeleteScope, ScopePath,
MessageBoxIcon.Question) == DialogResult.Yes)
// get the catalog handle
ICatAdm Catalog = GetCatalog(CatalogName);
// delete the selected scope
// refresh the list of scopes
Learn how to add or remove a search scope to a catalog:
Sep 30, 2013 06:01 AM|Discussion26|LINK
Thanx for reply .
But i m getting error in the same code as i refered http://www.codeproject.com/Articles/10871/Administrate-Indexing-Server-from-within-your-appl.
So plz let me kno further how to solve this.
Sep 30, 2013 09:26 PM|Angie xu - MSFT|LINK
You could download the Indexing server admin console (sample) in the link above, and test it on your side, check whether it still has same problem,
then you can give some modifications according to your requirements.
Oct 10, 2013 02:48 AM|Discussion26|LINK
Now i m using below code for searching Files on remote machine with the help of microsoft indexing services catalog.
catalog=MyCatalog resides on remote machine.
My question is : this query returns null and dont give any error.
So i m not able to figure out why it gives null.
Do i need to add something like usernname & pwd for remote machine?
CissoQueryClass q = new CissoQueryClass();
CissoUtilClass util = new CissoUtilClass();
OleDbDataAdapter da = new OleDbDataAdapter();
System.Data.DataSet ds = new System.Data.DataSet("IndexServerResults");
q.Query = TextBox1.Text;
q.DefineColumn("testing = d1b5d3f0-c0b3-11cf-9a92-00a0c908dbf1 testing");
q.Catalog = "query://REmoteserver/MyCatalog";
q.SortBy = "rank[d]";
q.Columns = "rank, path, size, testing";
util.AddScopeToQuery(q, @"D:\test\index-me\", "deep");
util.AddScopeToQuery(q, @"'" + strPath + "'", "deep");
object o = q.CreateRecordset("nonsequential");
da.Fill(ds, o, "IndexServerResults");
DataGrid1.DataSource = ds;
Oct 21, 2013 06:38 AM|Discussion26|LINK
I m using below line of code for accessing remote server catalog document search
select DocTitle,Filename,Size,PATH,URL from remoteservername.mycatalog..Scope()
but that is not returning records.
I m in confusion what else is needed as there is no err no permission message.