|
Home > Archive > IIS Index Server > April 2005 > iisample - query.htm - 404 - File or directory not found.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
iisample - query.htm - 404 - File or directory not found.
|
|
| qa4ever 2005-01-16, 5:49 pm |
| Hi I'm a newbe
I'm using the
NET SDK sample query.idq, query.htm etc.
I have a catalog "System" stored at c:\inetpub\catalog.cwi (it contains txt
documents)
Query.idq was amended to the following:
CiTemplate=/%TemplateName%.htx
CiCatalog=system
After having typed the word "chapter" in the search for at
http://localhost/query.htm
Returns:
http://localhost/query.idq?Original...yForm=query.htm
HTTP Error 404 - File or directory not found.
Which file might that be?
Because query.idq and all the other files of the IISample is in that
directory.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Furthermore query.asp returns:
"No documents matched the query"
Using the catalog "System" in Computer management the same query word,
"chapter", returns five records.
Thanks,
QA4Ever
| |
| Hilary Cotter 2005-01-17, 7:47 am |
| you need query.htx and you need to define its name and location in your
query.idq file
--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
"qa4ever" <klevmar@hotmail.com> wrote in message
news:vEwGd.127797$dP1.459041@newsc.telia.net...
> Hi I'm a newbe
>
> I'm using the
> NET SDK sample query.idq, query.htm etc.
>
> I have a catalog "System" stored at c:\inetpub\catalog.cwi (it contains
txt
> documents)
>
> Query.idq was amended to the following:
> CiTemplate=/%TemplateName%.htx
> CiCatalog=system
> After having typed the word "chapter" in the search for at
> http://localhost/query.htm
> Returns:
>
>
http://localhost/query.idq?Original...yForm=query.htm
>
> HTTP Error 404 - File or directory not found.
>
> Which file might that be?
> Because query.idq and all the other files of the IISample is in that
> directory.
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> Furthermore query.asp returns:
> "No documents matched the query"
>
>
>
> Using the catalog "System" in Computer management the same query word,
> "chapter", returns five records.
>
> Thanks,
> QA4Ever
>
>
| |
| George Cheng [MSFT] 2005-01-17, 5:55 pm |
| Looks like it is looking for query.idq at the root of your site.
http://localhost/query.idq
Thank You
George Cheng
Microsoft Application Center & Index Server Support
Note: This article has no warranties implicit or explicit.
All the content is given on the "as is" basis and the user
takes full responsibility for its use and assumption.
Microsoft Corporation Copyright 2004
All Rights Reserved
--------------------
| From: "qa4ever" <klevmar@hotmail.com>
| Newsgroups: microsoft.public.inetserver.indexserver
| Subject: iisample - query.htm - 404 - File or directory not found.
| Lines: 36
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.0
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Message-ID: <vEwGd.127797$dP1.459041@newsc.telia.net>
| Date: Sun, 16 Jan 2005 16:30:19 GMT
| NNTP-Posting-Host: 83.248.51.24
| X-Complaints-To: abuse@telia.com
| X-Trace: newsc.telia.net 1105893019 83.248.51.24 (Sun, 16 Jan 2005
17:30:19 CET)
| NNTP-Posting-Date: Sun, 16 Jan 2005 17:30:19 CET
| Organization: Telia Internet
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new
sfeed1.ip.tiscali.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer2
.se.telia.net!se.telia.net!masternews.telia.net.!newsc.telia.net.POSTED!not-
for-mail
| Xref: cpmsftngxa10.phx.gbl microsoft.public.inetserver.indexserver:30750
| X-Tomcat-NG: microsoft.public.inetserver.indexserver
|
| Hi I'm a newbe
|
| I'm using the
| NET SDK sample query.idq, query.htm etc.
|
| I have a catalog "System" stored at c:\inetpub\catalog.cwi (it contains
txt
| documents)
|
| Query.idq was amended to the following:
| CiTemplate=/%TemplateName%.htx
| CiCatalog=system
| After having typed the word "chapter" in the search for at
| http://localhost/query.htm
| Returns:
|
|
http://localhost/query.idq?Original...CiMaxRecordsPer
Page=10&TemplateName=query&CiSort=rank%5Bd%5D&HTMLQueryForm=query.htm
|
| HTTP Error 404 - File or directory not found.
|
| Which file might that be?
| Because query.idq and all the other files of the IISample is in that
| directory.
|
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
| Furthermore query.asp returns:
| "No documents matched the query"
|
|
|
| Using the catalog "System" in Computer management the same query word,
| "chapter", returns five records.
|
| Thanks,
| QA4Ever
|
|
|
| |
| qa4ever 2005-01-21, 5:52 pm |
| Thanks George that's well spotted...
Could you make a wild guess why IIS would return 404 when that query.idq is
in fact located in the root dir?
/QA4Ever
""George Cheng [MSFT]"" <GCheng@online.microsoft.com> wrote in message
news:lifSofL$EHA.2768@cpmsftngxa10.phx.gbl...
> Looks like it is looking for query.idq at the root of your site.
>
> http://localhost/query.idq
>
> Thank You
>
> George Cheng
>
> Microsoft Application Center & Index Server Support
>
> Note: This article has no warranties implicit or explicit.
> All the content is given on the "as is" basis and the user
> takes full responsibility for its use and assumption.
> Microsoft Corporation Copyright 2004
> All Rights Reserved
>
> --------------------
> | From: "qa4ever" <klevmar@hotmail.com>
> | Newsgroups: microsoft.public.inetserver.indexserver
> | Subject: iisample - query.htm - 404 - File or directory not found.
> | Lines: 36
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.3790.0
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | Message-ID: <vEwGd.127797$dP1.459041@newsc.telia.net>
> | Date: Sun, 16 Jan 2005 16:30:19 GMT
> | NNTP-Posting-Host: 83.248.51.24
> | X-Complaints-To: abuse@telia.com
> | X-Trace: newsc.telia.net 1105893019 83.248.51.24 (Sun, 16 Jan 2005
> 17:30:19 CET)
> | NNTP-Posting-Date: Sun, 16 Jan 2005 17:30:19 CET
> | Organization: Telia Internet
> | Path:
>
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new
>
sfeed1.ip.tiscali.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer2
>
..se.telia.net!se.telia.net!masternews.telia.net.!newsc.telia.net.POSTED!not-
> for-mail
> | Xref: cpmsftngxa10.phx.gbl microsoft.public.inetserver.indexserver:30750
> | X-Tomcat-NG: microsoft.public.inetserver.indexserver
> |
> | Hi I'm a newbe
> |
> | I'm using the
> | NET SDK sample query.idq, query.htm etc.
> |
> | I have a catalog "System" stored at c:\inetpub\catalog.cwi (it contains
> txt
> | documents)
> |
> | Query.idq was amended to the following:
> | CiTemplate=/%TemplateName%.htx
> | CiCatalog=system
> | After having typed the word "chapter" in the search for at
> | http://localhost/query.htm
> | Returns:
> |
> |
>
http://localhost/query.idq?Original...CiMaxRecordsPer
> Page=10&TemplateName=query&CiSort=rank%5Bd%5D&HTMLQueryForm=query.htm
> |
> | HTTP Error 404 - File or directory not found.
> |
> | Which file might that be?
> | Because query.idq and all the other files of the IISample is in that
> | directory.
> |
> | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> | Furthermore query.asp returns:
> | "No documents matched the query"
> |
> |
> |
> | Using the catalog "System" in Computer management the same query word,
> | "chapter", returns five records.
> |
> | Thanks,
> | QA4Ever
> |
> |
> |
>
| |
| qa4ever 2005-01-21, 5:52 pm |
| Tried that it's still failing. Just to make it clear I don't want to search
the
I want to search non-web documents (which apparently is set up correct since
Computer Management searches and fins those files correctly.
/QA4Ever
"Hilary Cotter" <hilary.cotter@gmail.com> wrote in message
news:uFCfRSJ$EHA.1188@tk2msftngp13.phx.gbl...
> you need query.htx and you need to define its name and location in your
> query.idq file
>
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> "qa4ever" <klevmar@hotmail.com> wrote in message
> news:vEwGd.127797$dP1.459041@newsc.telia.net...
> txt
>
http://localhost/query.idq?Original...yForm=query.htm
>
>
| |
| SandaIT 2005-04-06, 5:57 pm |
| Did you ever come up with a solution to this? I am having the exact same
problems.
"qa4ever" wrote:
> Tried that it's still failing. Just to make it clear I don't want to search
> the
> I want to search non-web documents (which apparently is set up correct since
> Computer Management searches and fins those files correctly.
>
> /QA4Ever
>
> "Hilary Cotter" <hilary.cotter@gmail.com> wrote in message
> news:uFCfRSJ$EHA.1188@tk2msftngp13.phx.gbl...
> http://localhost/query.idq?Original...yForm=query.htm
>
>
>
| |
| Doug Smith W9WI 2005-04-07, 2:50 am |
| SandaIT wrote:[vbcol=seagreen]
> Did you ever come up with a solution to this? I am having the exact same
> problems.
>
Is there an %include% directive in your query.htx?
I lost a bunch of hair over this earlier this week. The sample
query.htx %includes% some file from the IISAMPLES folder. But for some
reason the included file didn't exist or was at a different location.
(IIRC IISAMPLES was on a different drive)
This caused a 404 error for the entire .htx file - even though 99% of
the file actually existed and was readable...
--
Doug Smith W9WI
Pleasant View (Nashville), TN EM66
http://www.w9wi.com
(would provide more details but my server is 50km away...)
| |
| SandaIT 2005-04-07, 8:48 pm |
| Thanks, I actually figured it out this morning. It was because I did not
have the .idq extensions set up in the mapping correctly.
"Doug Smith W9WI" wrote:
> SandaIT wrote:
>
> Is there an %include% directive in your query.htx?
>
> I lost a bunch of hair over this earlier this week. The sample
> query.htx %includes% some file from the IISAMPLES folder. But for some
> reason the included file didn't exist or was at a different location.
> (IIRC IISAMPLES was on a different drive)
>
> This caused a 404 error for the entire .htx file - even though 99% of
> the file actually existed and was readable...
>
> --
> Doug Smith W9WI
> Pleasant View (Nashville), TN EM66
> http://www.w9wi.com
> (would provide more details but my server is 50km away...)
>
>
|
|
|
|
|