Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 26th, 2003, 08:41 AM
Helen Jordan Helen Jordan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 1 Helen Jordan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question ADODB.Recordset error '800a0e78'

I get the error "ADODB.Recordset error '800a0e78'

Operation is not allowed when the object is closed.

/athleteprofile.asp, line 44"


It occurs during the processing of this code

<%
Aname = Trim(Request.Form("Aname"))
Password = Trim(Request.Form("Password"))
%>

<%
Dim nconnect, nrecord, query
Set nconnect = Server.CreateObject("ADODB.Connection")
Set nrecord = Server.CreateObject("ADODB.Recordset")
query = "Select Name, Password From qrynamepwfull" _
& "Where Name = '"&Aname&"' And Password = '"&Password&"'"
nconnect.Open "athlpacts_153966"
Do While Not nrecord.EOF - - - this is line 44 - - -
%>


Can you tell me what is causing this? The object is not closed.

Thanks!

Reply With Quote
  #2  
Old August 26th, 2003, 09:34 AM
karsh44's Avatar
karsh44 karsh44 is offline
Just another guy
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2003
Location: Wisconsin
Posts: 2,915 karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 13 h 6 m 22 sec
Reputation Power: 76
If you are sure the object is not closed (you can check with "connection.state" I believe), then the error could come from running a statement or stored query that returns an empty recordset. http://support.microsoft.com/defaul...kb;en-us;301437
Always look up these error messages at microsoft.com, they usually have explainations and workarounds.
HTH

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > ADODB.Recordset error '800a0e78'


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway