?
Solved

ADODB.Field error '80020009'

Posted on 2016-09-14
5
Medium Priority
?
40 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
[X]
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
5 Comments
 
LVL 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 1000 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 53

Assisted Solution

by:Ryan Chong
Ryan Chong earned 1000 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
ID: 41799082
ok, thank a lot for your suggestion...i will look it forward
0
 
LVL 53

Expert Comment

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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

777 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