Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 26th, 2004, 08:09 AM
Authorized User
Join Date: Nov 2003
Location: , , .
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default Index Search Engine Issue

Hi, I created a small ASP Search application using Microsoft Indexing Service. I've used the objects "IXSSO.QUERY" & "IXSSO.UTIL". In the Computer Management Console, I created a new Catalog named "Trying" under the Indexing Service and included the directory accordingly.

In the Utility.AddScopeToQuery, the depth of search is given as "deep". And the objQuery.Query is like "(@contents " & strSrch & ")", where strSrch is the value from the textbox.

Further a nonsequential recorset object is created, but the number of records returned is zero.

I'm searching for a word "Demonstrates" which is present within the <BODY> tag in an .asp file. If I query for the same word in the Computer Management Console using "Query the Catalog" function, I get the desired output, but fails to work from the .asp file that I wrote.

However searchs from other catalog "Web" is working from the .asp file that I wrote. Is there something that I need to configure further or add extra code?? Please guide me!


Old March 26th, 2004, 08:18 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

Does your Web server have sufficient permissions for the files in the index?
AFAIK, the index server only returns records that the "current user" is allowed to access. If that current user is your Web server (IUSR account) you may get less results than when *you* query the catalog.



Imar Spaanjaars
Everyone is unique, except for me.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search Engine for Full-text Search Kala ASP.NET 1.0 and 1.1 Professional 2 August 29th, 2004 02:16 AM
Search Engine dfalconer General .NET 3 August 17th, 2004 05:46 AM
Search engine that search through local drive! wenzation Classic ASP Basics 0 August 26th, 2003 09:15 PM
index value search mateenmohd Classic ASP Databases 3 June 18th, 2003 01:34 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.