Hi everyone,
I'm getting the following error:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are
in conflict with one another.
/newsite/faq.asp, line 57
Can you look at the code below and let me know if the problem is my
code or if there is a server setting that needs adjustment. Thanks.
_______________ _______________ _______________ _______________ ______________
I am using a global.asa file with:
SCRIPT LANGUAGE="VBScr ipt" RUNAT="Server">
Sub Application_OnS tart()
Dim strConn
strConn = "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=D:\Depar tments
\MBA_UBALT\news ite\faq.mdb"
Application("st rConn") = strConn
End Sub
</SCRIPT>
The ASP page code is:
<%
Dim rsFAQ
Set rsFAQ = Server.CreateOb ject("ADODB.Rec ordset")
rsFAQ.Open "FAQ", Application("st rConn"), adOpenKeyset,
adLockReadOnly, adCmdText
Do While Not rsFAQ.EOF
Response.Write "<li><b>" & rsFAQ("Question ") & "</b>"
Response.Write "<p>" & rsFAQ("Answer") & "</p></li>"
rsFAQ.MoveNext
Loop
If rsFAQ.BOF Then
Response.Write "<p>No FAQs in the database!</p>" & vbNewLine
End If
rsFAQ.Close
%> 1 3560
thecubemonkey wrote:
Hi everyone,
I'm getting the following error:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are
in conflict with one another.
/newsite/faq.asp, line 57
Can you look at the code below and let me know if the problem is my
code or if there is a server setting that needs adjustment. Thanks.
_______________ _______________ _______________ _______________ ______________
rsFAQ.Open "FAQ", Application("st rConn"), adOpenKeyset,
adLockReadOnly, adCmdText
This error is typically due to the failure to define those ado constants.
See: http://www.aspfaq.com/show.asp?id=2112
That said, I have to say there is rarely a need to use other than the
default, server-side forward-only cursor type. This statement could be
changed to (assuming FAQ is a table in your database):
dim cn, rs
set cn = createobject("a dodb.connection ")
cn.open Application("st rConn")
set rs = cn.Execute("sel ect * from FAQ',,1)
Further relevant reading: http://www.aspfaq.com/show.asp?id=2096 http://www.aspfaq.com/show.asp?id=2467
--
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM" This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: J. Muenchbourg |
last post by:
I'm getting an "Arguments are of the wrong type, out of acceptable
range, in conflicts with each other " error , pointing to the sql
statement in this block:
Dim rstime
Set rstime = Server.CreateObject("ADODB.Recordset")
rstime.Open "SELECT * FROM TimestarResorts where resortname='" &
request.querystring("resortname") & "' and roomsize='" &
request.querystring("roomsize") & "'", dsn, 1, 3
|
by: Erica |
last post by:
I'm getting the following error:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.
/shop/results.asp, line 15
line 15 is the recordset open line. Can someone please help
|
by: Jack |
last post by:
Hi,
I am trying to add a new record to a main page. This page is the processing
page to a form. However, I am getting the following error message:
Error Type:
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.
/gwisnewcon/test/successconfirmation_ori.asp, line 41
|
by: the other john |
last post by:
Here's my project info first...
DB: Access 2000
server: IIS 2003
Here is the error I'm getting...
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in
|
by: Edward |
last post by:
I have a wrapper function for executing a SQL Server Stored Procedure
that returns no records:
Public Function modRunStoredProc(vstrSPName As String, ParamArray
vvarParams() As Variant) As Variant
On Error GoTo modRunOutputStoredProc_Err
Dim cmd As Command
Dim intIndex As Integer
| |
by: jaYPee |
last post by:
rst.Open "SwitchboardItems", cn, adOpenStatic, adLockOptimistic
rst.Find "=" & Me! & " AND
=" & intBtn
I have this code in my MS Access XP and it gives me an error
"Arguments are of the wrong type, are out of acceptable range, or are
in conflict with one another" when finding the record.
Anyone know how to work around w/ this problem? thanks in advance.
|
by: iam247 |
last post by:
Hi
I have a web page which receives information from a form (using
request.form) and also attempts to look at an Access query to read in
recoeds to a variable named rsGroup.
When I have the following line commented, so it does not activate, I
can successfully print all of the response.write's below:
rsGroup.Open strSQL, adoCon
|
by: anantraoneel |
last post by:
Hi Friend
My project is a Library System.
In Project is Book Master form. If I've select Book Type from Type Master and Publication from Publication Master then this error has come:
"Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. "
but if I've put amount manually and save the record then record has been successfully saved.
For selection of Book Type and Publication I've used Combo...
|
by: thecubemonkey |
last post by:
I'm having an issue with connecting to an Access DB. I'm getting the
following error:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are
in conflict with one another.
/newsite/faq_test.asp, line 57
Can you look at the code in both my global.asa and ASP file to see if
the problem is my code or a setting on the server. Thanks in advance.
|
by: gforgourav |
last post by:
'Arguments are of wrong type, are out of acceptable range, or are in conflict with one another'
this error occurs ...
i m using vb.net 2005 with sql server 2000 backend
i had a project in vb 6.0 with MS access
i hav converted it to vb.net 2005 and hav made all necessary changes in code
now as the project was in vb 6.0 it has adodb recordset for fetching data from table
now whn i m using sql server connection string i get this error..
my...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |