Re: ADODB.Recordset (0x800A0E78) Operation is not allowed when the object is closed.
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Thu, 21 Feb 2008 14:21:04 -0500
Shiller wrote:
On Feb 21, 1:48 pm, "Bob Barrows [MVP]" <reb01...@xxxxxxxxxxxxxxx>
wrote:
Shiller wrote:The error message is pointing to this line of code:
Experts,
I'm running a web application with Microsoft Access as my backend
database.
when I call a stored procedure from ASP I get the the following
error message:
Error Type:
ADODB.Recordset (0x800A0E78)
Operation is not allowed when the object is closed.
Has anyone else encounter this error message when running Access as
web database, if yes please help.
This message is not dependant on the backend database. It's caused by
trying to do something that is not allowed. Exactly what that is in
your case is impossible for us to tell. Show us your code ... just
the relevant portion please: we don't need to see a bunch of html ...
*****
If Not IsEmpty(mCountSQL) And Len(CountSQL) = 0 And NOT
DataSource.Recordset.EOF Then
*****
Well, it looks to me as if you are trying to check the EOF property of a
closed recordset. Looking in your code I see that this line is followed
by:
If DataSource.Recordset.State = adStateOpen Then
It seems to me that you should be doing this BEFORE checking EOF ...
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- References:
- ADODB.Recordset (0x800A0E78) Operation is not allowed when the object is closed.
- From: Shiller
- Re: ADODB.Recordset (0x800A0E78) Operation is not allowed when the object is closed.
- From: Bob Barrows [MVP]
- Re: ADODB.Recordset (0x800A0E78) Operation is not allowed when the object is closed.
- From: Shiller
- ADODB.Recordset (0x800A0E78) Operation is not allowed when the object is closed.
- Prev by Date: Re: ADODB.Recordset (0x800A0E78) Operation is not allowed when the object is closed.
- Next by Date: Re: ADO.NET SQLConnection Best Practices
- Previous by thread: Re: ADODB.Recordset (0x800A0E78) Operation is not allowed when the object is closed.
- Next by thread: Re: ADO.NET SQLConnection Best Practices
- Index(es):
Relevant Pages
|
|