Object doesn't support this property or method 'eof'

Posted on 2006-06-11
Last Modified: 2012-08-13
I have the following code which keeps throwing the error

Microsoft VBScript runtime  error '800a01b6'

Object doesn't support this property or method: 'eof'

Please help.

                  nString = "select name from seminar where seminarid = '" & vSeminarID & "'"                             
            if not (RS.eof and RS.bof) then
                 Do while not RS.eof
                 Response.write (RS("name"))
            end if
              response.write (vSeminarID)
                  On Error Resume Next
            end if
Question by:drai123
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 33

Accepted Solution

sajuks earned 500 total points
ID: 16883037
try changing
SET RS=obj_conn.Execute(nString)
LVL 20

Expert Comment

ID: 16883241
where your DB connecting sting ?

LVL 20

Expert Comment

ID: 16883250
and then try
If (RS.EOF = False) And (RS.BOF = False) Then  ' i think this line is not important here

Do while not RS.eof
                 Response.write (RS("name"))
          end if

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jquery to restrict certain words from input in form 11 50
window close link 7 62
Table doesn't show the lines! 3 34
Classic ASP - Display returned sql output parameter 9 54
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question