Re: Recordset not open?



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


.



Relevant Pages

  • rs("Vpath") blank
    ... When searching using Index Server in our ASP page, ... /DOCS is in the catalog of Index Server. ...
    (microsoft.public.inetserver.indexserver)
  • Re: Response.Flush: Differences between IIS 6.0 and 5.0?
    ... I do not expect my ASP script to continue running until the ... ASP did send the entire response buffer to the client prior to continuing ... 'See how long it takes to Flush to the browser ... Browsing to this ASP page hosted on an IIS 5.0 server yield the following ...
    (microsoft.public.inetserver.iis)
  • RE: 2003 Index Server - ignoring scopes error?
    ... ASP page with a web-site using the anonymous account, ... >Microsoft Application Center & Index Server Support ... >| I've got a situation where a 2003 Index Server query is ... >| pages confirm that I'm setting the scopes and the query ...
    (microsoft.public.inetserver.indexserver)
  • Re: Best way to deal with user forms
    ... Thanks for the response. ... Your point is taken about sending email only in text format. ... > If your site is hosted on a Windows IIS server and you can use ASP and Access, ... > accomplished using the FP database components with no additional cost involved. ...
    (microsoft.public.frontpage.client)
  • Re: Site Search application!
    ... Using Index Server to Search Your Web Site - Part I by John Peterson ... "A completely dynamic search engine for a completely dynamic web site ... "Microsoft Index Server is a standard component of Windows NT 4 Server ... J. Paul Schmidt, Freelance ASP Web Developer ...
    (microsoft.public.inetserver.asp.general)

Loading