Solved

Microsoft VBScript runtime error '800a01fb'

Posted on 2002-04-02
11
4,137 Views
Last Modified: 2008-02-26
We have Windows 2000 server and when I open one page of the site, which has a database query, then the server show me this error.

Microsoft VBScript runtime error '800a01fb'
An exception occurred: 'RSCon.Open'
/acesco/directorio/BuscarDirectorio.Asp, line 50

It is not always, is sometimes, so after if I refresh the page may be the error is not showed or may be yes
0
Comment
Question by:G2MD
  • 3
  • 2
  • 2
  • +3
11 Comments
 
LVL 46

Accepted Solution

by:
fritz_the_blank earned 25 total points
Comment Utility
Perhaps the recordset was not closed properly:

Try this :

if not isObject("objRS") then
     set objRS=Server.CreateObject("ADODB.RecordSet")
end if
if objRS.state <> 0 then
     objRS.close
end if
objRS.Open strTableNameOrSQL,objConnection
0
 
LVL 2

Expert Comment

by:prokni
Comment Utility
Are you connecting to access? Look at your MDAC version.
0
 
LVL 5

Expert Comment

by:kcm76
Comment Utility
are u opening and closing the recordset - using the same connection object - frequently in the coding . say about 100 times.

KCM
0
 
LVL 20

Expert Comment

by:Silvers5
Comment Utility
If your database is access and you might not be closing correctly your connection objects (or you have some traffic on the site) then you will have this error..
at the end always close the recordsets and connections like:

RS.Close : set RS = nothing
Conn.close : Set Conn = nothing


if you are having traffic then upgrade to a server based database or increase the simultanous connections in access (but this won't affect well the performance)
0
 

Author Comment

by:G2MD
Comment Utility
I close all recordsets and connection, and take the variables to nothing  after that. My database is SQL SERVER and INFORMIX.
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 5

Expert Comment

by:kcm76
Comment Utility

are u ********opening and closing the recordset - using the same connection object - frequently********* in the coding
. say about 100 times.

KCM
0
 

Author Comment

by:G2MD
Comment Utility
I use the same connection on one same page .asp, but not until 100 times, I often use only one connection to open a recordset and then to do a connection.execute(sql).
0
 
LVL 5

Expert Comment

by:kcm76
Comment Utility
can't guess.

can u please post what was the database query and some coding.?

KCM
0
 
LVL 1

Expert Comment

by:Moondancer
Comment Utility
12 open question, some dating back to the year 2000, all need your attention.  ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101, Netminder or Mindphaser will return to finalize these if they are still open in 7 days.  Experts, please post closing recommendations before that time.

Below are your open questions as of today.  Questions which have been inactive for 21 days or longer are considered to be abandoned and for those, your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you, but may help others. You must tell the participants why you wish to do this, and allow for Expert response.  This choice will include a refund to you, and will move this question to our PAQ (Previously Asked Question) database.  If you found information outside this question thread, please add it.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question (if it has no potential value for others).
   --> Post comments for expert of your intention to delete and why
   --> YOU CANNOT DELETE A QUESTION with comments; special handling by a Moderator is required.

For special handling needs, please post a zero point question in the link below and include the URL (question QID/link) that it regards with details.
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
 
Please click this link for Help Desk, Guidelines/Member Agreement and the Question/Answer process.  http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Click you Member Profile to view your question history and please keep them updated. If you are a KnowledgePro user, use the Power Search option to find them.  

Questions which are LOCKED with a Proposed Answer but do not help you, should be rejected with comments added.  When you grade the question less than an A, please comment as to why.  This helps all involved, as well as others who may access this item in the future.  PLEASE DO NOT AWARD POINTS TO ME.

To view your open questions, please click the following link(s) and keep them all current with updates.
http://www.experts-exchange.com/questions/Q.20009735.html
http://www.experts-exchange.com/questions/Q.20013430.html
http://www.experts-exchange.com/questions/Q.20018790.html
http://www.experts-exchange.com/questions/Q.11480698.html
http://www.experts-exchange.com/questions/Q.20258580.html
http://www.experts-exchange.com/questions/Q.20269191.html
http://www.experts-exchange.com/questions/Q.20284076.html
http://www.experts-exchange.com/questions/Q.20284077.html

To view your locked questions, please click the following link(s) and evaluate the proposed answer.
http://www.experts-exchange.com/questions/Q.20009112.html
http://www.experts-exchange.com/questions/Q.20110155.html
http://www.experts-exchange.com/questions/Q.20122860.html
http://www.experts-exchange.com/questions/Q.20166724.html

*****  E X P E R T S    P L E A S E  ******  Leave your closing recommendations.
If you are interested in the cleanup effort, please click this link
http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20274643
POINTS FOR EXPERTS awaiting comments are listed in the link below
http://www.experts-exchange.com/commspt/Q.20277028.html
 
Moderators will finalize this question if in @7 days Asker has not responded.  This will be moved to the PAQ (Previously Asked Questions) at zero points, deleted or awarded.
 
Thanks everyone.
Moondancer
Moderator @ Experts Exchange
0
 
LVL 46

Expert Comment

by:fritz_the_blank
Comment Utility
Sounds like a split on this one.

Fritz the Blank
0
 
LVL 1

Expert Comment

by:Moondancer
Comment Utility
Indeed, thanks.  Points have been split.

Points for kcm76 -> http://www.experts-exchange.com/jsp/qShow.jsp?qid=20311488
Points for prokni -> http://www.experts-exchange.com/jsp/qShow.jsp?qid=20311489
Points for Silvers5 -> http://www.experts-exchange.com/jsp/qShow.jsp?qid=20311490

Moondancer - EE Moderator
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

12 Experts available now in Live!

Get 1:1 Help Now