Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 13th, 2004, 12:13 PM
88fingerslukee 88fingerslukee is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 16 88fingerslukee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 52 sec
Reputation Power: 0
IIS/Indexing service help!!

I posted this in the ASP forum but it's obviously the wrong place. I keep learning more about this subject the more i get into the IIS but i still don't know enough to do what i want. I'm running Windows XP Pro SP1 with IIS 5.1 installed. I'm trying to write a webpage form to access Indexing Service and search a set of documents on the server. The Index for the set of doc's is already set up and i have chosen to use the .IDQ/.HTX method to call the Index. I chose this method because it seemed like the easiest and there was sample form on the Microsoft site. Here is the code from my files:


Here's the code of my .IDQ file:

[Query]
CiCatalog=c:\Quotes
CiScope=/
CiColumns=fileName, characterization, size, path, rank
CiRestriction=%CiRestriction%
CiTemplate=/Scripts/Quotes.htx
CiSort=rank[d]
CiFlags=DEEP
CiMaxRecordsInResultSet=300
CiMaxRecordsPerPage=10

Here's the code of my .HTX file:

<H4>
<%if CiMatchedRecordCount eq 0%>
No documents matched the query "<%EscapeHTMLCiRestriction%>".</H4>
<%else%>
<H4>Documents <%CiFirstRecordNumber%> to <%CiLastRecordNumber%> of
<%if CiMatchedRecordCount eq CiMaxRecordsInResultSet%>
the first
<%endif%>
<%CiMatchedRecordCount%> matching the query
"<%EscapeHTMLCiRestriction%>".
<%endif%>
</H4>

Here is the code of my HTML form:

<HTML>
<HEAD>
<TITLE>Indexing Service Search Form</TITLE>
</HEAD>
<BODY>
<FORM ACTION="Quotes.idq" METHOD="GET">
Search for:
<INPUT TYPE="TEXT" NAME="CiRestriction" SIZE="30" MAXLENGTH="100" VALUE="">
<INPUT TYPE="SUBMIT" VALUE="Execute Query">
<INPUT TYPE="RESET" VALUE="Clear">
</FORM>
</BODY>
</HTML>

My problem is that when i enter a search word into the form the IDQ code shows up in the browser window. I'm guessing that there is a breakdown between the HTM and the IDQ file or the IDQ file and the Indexing service. I thought that I directed the IDQ file properly by setting IIS to direct the IDQ extension to my IDQ.DLL file. Do i need to do anything else? Is my code missing something? Where should these files be stored?

For your info the Filenames are Quotes.idq, Quotes.htm and Quotes.htx

thank you for your help.

Reply With Quote
  #2  
Old October 13th, 2004, 12:27 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 21 h 32 m 23 sec
Reputation Power: 180
Index server is a foreign place for me, sorry. Perhaps someone familiar with index server can jump in, or maybe there is something at www.iisfaq.com
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > IIS/Indexing service help!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway