//  home   //  advanced search   //  news   //  categories   //  sql build chart   //  downloads   //  statistics
 ASP FAQ 
Home
ASP FAQ Tutorials

   8000XXXX Errors
   Alerts
   ASP.NET 2.0
   Classic ASP 1.0
   Databases
   General Concepts
   Search Engine Optimization (SEO)

Contact Us
Site Map

Search

Web
aspfaq.com
tutorials.aspfaq.com

ASP FAQ Tutorials :: 8000XXXX Errors :: Why do I get 800A0BB9 / 800A1391 errors?


Why do I get 800A0BB9 / 800A1391 errors?

Typically, the following error will happen if you try and set invalid cursor or lock properties on a recordset object. 
 
ADODB.Recordset error '800A0BB9' 
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
 
This is often because you used the VB "friendly" names for the values (such as adLockReadOnly), instead of the integer constants (which are the only values understood by the engine), without including ADOVBS.INC. So, a quick solution can often be to make sure you've included ADOVBS.INC. 
 
If you're using JScript, you might get the following error: 
 
Microsoft JScript runtime error '800a1391' 
'<variable>' is undefined
 
In this case, you should be including ADOJAVAS.INC or a more efficient workaround. 
 
After that, you should investigate two things. One is whether you should even be using a recordset object; more often than not, the ADODB.Recordset object is unnecessary (see Article #2191 for more info). The second is whether it makes sense to include ADOVBS.INC / ADOJAVAS.INC, or to simply define the few constants you actually plan on using (take a look at Article #2112 for reasons to avoid using this massive file). 
 
Another thing that can cause this problem is if you use JScript / JavaScript and copy VBScript code over, e.g.: 
 
<script language=JScript runat=Server> 
    response.write("foo"); 
</script>
 
This should yield: 
 
Microsoft JScript runtime error '800a1391'  
'response' is undefined

Related Articles

Why do I get 8002000A errors?
Why do I get 80040200 / 80040514 / 800A0E7A errors?
Why do I get 80040e09 errors?
Why do I get 80040E0C errors?
Why do I get 80040E10 errors?
Why do I get 80040E14 errors?
Why do I get 80040E21 errors?
Why do I get 80040E23 errors?
Why do I get 80040E24 errors?
Why do I get 80040E2F errors?
Why do I get 80040e30 errors?
Why do I get 80040E31 errors?
Why do I get 80040E37 errors?
Why do I get 80040e4e errors?
Why do I get 80040E54 errors?
Why do I get 80040E57 / 80040E07 errors?
Why do I get 8004D00A errors?
Why do I get 80070070 errors?
Why do I get 800A01FB errors?
Why do I get 800A0C93 errors?
Why do I get 800a0cb3 errors?
Why do I get 800A0CC1 errors?
Why do I get 800A0E78 errors?
Why do I get 800A0E7C errors?
Why do I get 800A0E7D errors?
80004005 Errors
Can I use the NZ() function without getting 80040E14 errors?

 

 


Created: 1/15/2001 | Last Updated: 7/20/2004 | broken links | helpful | not helpful | statistics
© Copyright 2006, UBR, Inc. All Rights Reserved. (57)

 

Copyright 1999-2006, All rights reserved.
Finding content
Finding content.  An error has occured...