Solved

ADODB.Field error '80020009'

Posted on 2016-09-14
5
25 Views
Last Modified: 2016-10-31
Hi...i have a problem where this error come out when i am trying to run my code...i used asp for this code:

ADODB.Field error '80020009'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/servisdesk2.0/dashboard/maindev.asp, line 0

i have run this code before and it work well....is it this problem caused by server problem
0
Comment
Question by:Nur Amirah Roslan
  • 2
5 Comments
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 250 total points
ID: 41799065
It means there is no data being returned in your recordset.

If you have a table with columns A and data looks like

4
6
8
12

Then you have a query SELECT ColumnA from MyTable where ColumnA = 3 there is no data and you will get that same error.

I hope this helps to make sense.
0
 
LVL 50

Assisted Solution

by:Ryan Chong
Ryan Chong earned 250 total points
ID: 41799075
always do a check to handle your scripts before you referring to a Recordset's field data, like try to add this before that:

<%
...
if rs.eof then
    response.write "no record was found or you should do some error handling here " 
    response.end
end if
...
%>

Open in new window

0
 

Author Comment

by:Nur Amirah Roslan
ID: 41799082
ok, thank a lot for your suggestion...i will look it forward
0
 
LVL 50

Expert Comment

by:Ryan Chong
ID: 41821033
Do you still need assistance here? is your problem resolved?
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now