Current location: Hot Scripts Forums » Programming Languages » ASP » ADODB.Recordset error '800a0e78'


ADODB.Recordset error '800a0e78'

Reply
  #1 (permalink)  
Old 08-09-05, 11:33 PM
kmf165 kmf165 is offline
New Member
 
Join Date: Aug 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy ADODB.Recordset error '800a0e78'

Hi everybody there.

I have been read through every post regarding this error but it is not what I faced.

I have two website within same IIS ( One as default and another I put a host header value) . I created and point both two virtual site to the same asp application called REMS into both website. But sometimes the one with host header will prompt error

ADODB.Recordset error '800a0e78'
Operation is not allowed when the object is closed.
/REMS/includes/overall_header.inc, line 17


The one with default website no problem (but actually pointing same application file)

The problem sloved when i restart IIS. Any advices?

Thanks
Reply With Quote
  #2 (permalink)  
Old 08-10-05, 02:00 AM
minority minority is offline
Wannabe Coder
 
Join Date: Jun 2005
Posts: 145
Thanks: 0
Thanked 0 Times in 0 Posts
your record set is closed you need to make sure that it is open.

make sure you have this and it is correct (Note the rsinsert can be called anything)

set rsinsert = server.CreateObject ("ADODB.Connection")
rsinsert.open = "Provider=Microsoft.Jet.OLEDB.4.0; Data strCon=C:\Intranet\ncr\database\db.mdb;User Id=admin;Password=;"
rsSQL = "SELECT * FROM table"
rsinsert.Open strSQL, strCon
rsinsert.close

Make sure if you are using the database that all the calls are made within the rsinsert.open and the rsinsert.close as if you do them out side then you will get the error you are having.

if that doesnt help you will need to post your code.
Reply With Quote
  #3 (permalink)  
Old 08-10-05, 07:33 PM
kmf165 kmf165 is offline
New Member
 
Join Date: Aug 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question Case

Hi, thanks for reply.

Basically I think it is not the problem of unclosed rs. I am making a asp page which will refresh every 30 second, and I can say it works atleast more than once ( normally it happen after 30min). I dont understand why it happened only after certain time period but not from the begining.

And I also find out my server's AppPool eaten up my memory up to 400mb.

I have checked from MS support site and mention that there is a hotfix in Windows Server 2003 SP1 but actually I already patched before.

Thanks

Last edited by kmf165; 08-10-05 at 08:05 PM.
Reply With Quote
  #4 (permalink)  
Old 08-10-05, 09:54 PM
koncept
Guest
 
Posts: n/a
connection timeouts & connection limits. what type of database?
Reply With Quote
  #5 (permalink)  
Old 08-10-05, 10:19 PM
kmf165 kmf165 is offline
New Member
 
Join Date: Aug 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, lets make it clear on my application process.

I am using three tier which asp scripts serve as client. I created a object dll which will handle database connection while the database is in another server. My problem now is the connection from the dll was terminated on its own after certain amount of time.

I test my application on two platform. One is windows 2k with IIS 5.1 where another is windows server 2003 SP1 with IIS 6.

My asp pages will refresh every 3 minutes which will show updated info, these runtine runs perfectly under W2K IIS5. Where as for Windwos server 2003, it runs well from begining but after certain time of amount, that error happended.

Thanks
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ADODB.Recordset error '800a0cc1' (definately not a typo) ethical_anarhist ASP 3 05-15-04 01:51 AM


All times are GMT -5. The time now is 03:30 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.