Re: Recordset not open?
- From: "Guy Hall" <guy.hall@xxxxxxxxxxxxxx>
- Date: Wed, 14 Dec 2005 11:29:38 -0000
Response to question 1):
From the code you supplied you have not defined the value of adStateOpen.
Define it as a constant or get a copy of the MS ADO constants and inlcude
it in your file.
Response to question 2):
You could query the catalog from the IS snap-in on the server and check
you get the same results.
Regards,
SpLiT
"alto" <altodorov@xxxxxxxxxxx> wrote in message
news:uX%23jA%23D8FHA.1000@xxxxxxxxxxxxxxxxxxxxxxx
> The code below is supposed to return the search results from an ASP site
> indexed w/ Index Server. The catalog is there and the Recordset object
> (RS) is initialized but the line <If RS.State = adStateOpen Then> returns
> the following err msg: <Microsoft VBScript runtime error '800a01f4'
> Variable is undefined: 'adStateOpen' >
>
> Two questions: 1) Why seems the RS not to be open? and 2) How can I test
> if Index Server returns the correct data outside of my ASP application?
>
> Also, any working examples of ASP as a front end to Index Server would
> help greatly.
>
> TIA
.
- Prev by Date: Help: Iterating thru ixQuery recordset hangs on movenext
- Next by Date: Help: IS adds unwanted directroy to catalogs
- Previous by thread: Help: Iterating thru ixQuery recordset hangs on movenext
- Next by thread: Help: IS adds unwanted directroy to catalogs
- Index(es):
Relevant Pages
|
Loading