473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

ADODB.Connection error '800a0bb9'

I have an application that we are moving to a 2003 server using IIS6.
Currently, it works fine with IIS5 on a NT server. When I try to log
into the application and connect to an Oracle DB, I get the following
error:
ADODB.Connection error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.

Here is the code that is causing the error. The line where the error is
occuring is 'objDBConn.cursorlocation=adUseClient'
Sub OpenDB

strDBAction = "Open Database"

Set objDBConn = Server.CreateObject("ADODB.Connection")

objDBConn.cursorlocation=adUseClient
objDBConn.Open Application("DB_CONNECTION_STRING")

If err.Number <> 0 OR objDBConn.Errors.Count <> 0 Then
Call ErrHandler
End If

End Sub

Any ideas anyone would have to help fix the problem would be greatly
appreciated. Thank you very much.

Mike

Oct 25 '05 #1
2 6783
Do you have adUseClient defined anywhere?

Ray at work

<wo***********@yahoo.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
I have an application that we are moving to a 2003 server using IIS6.
Currently, it works fine with IIS5 on a NT server. When I try to log
into the application and connect to an Oracle DB, I get the following
error:
ADODB.Connection error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.

Here is the code that is causing the error. The line where the error is
occuring is 'objDBConn.cursorlocation=adUseClient'
Sub OpenDB

strDBAction = "Open Database"

Set objDBConn = Server.CreateObject("ADODB.Connection")

objDBConn.cursorlocation=adUseClient
objDBConn.Open Application("DB_CONNECTION_STRING")

If err.Number <> 0 OR objDBConn.Errors.Count <> 0 Then
Call ErrHandler
End If

End Sub

Any ideas anyone would have to help fix the problem would be greatly
appreciated. Thank you very much.

Mike

Oct 25 '05 #2
http://www.aspfaq.com/search.asp?q=800a0bb9&x=9&y=10

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips

*** Sent via Developersdex http://www.developersdex.com ***
Oct 25 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DC | last post by:
Im getting the error ADODB.Fields error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. In the following script to copy and...
3
by: Harry Hudini | last post by:
Hi, I have an asp page that needs to display the string that is returned from a cgi file. As an example, if you enter http://mydomain.com/mycgi.cgi?98127398 in to a browser, it will display...
13
by: Patrick | last post by:
I understand that with IIS5.1 on Windows XP Professional SP1, I can 1) Either set under IIS Manager-> Any specific Virtual Directory-> Configuration->Options->ASP Script timeout for all pages...
5
by: Simone | last post by:
Hello I hope you guys can help me. I am very new to ADO... I am creating a ADODB connection in a module and trying to access it from a command button in a form. Function fxEIDAssgn(plngEID As...
0
by: Andre Azevedo | last post by:
Hi all ! I've created a .net serviced component with only one method. This method receive an ADODB.Command object and execute it. The ADODB.Command object is created in the client process. (VB...
0
by: ASP.Confused | last post by:
The old message looked a little stale, so I am re-posting it here. Anybody have any ideas of what I could do?!? The previous responses to this question are below. If you want to look at the...
0
by: dmckenna | last post by:
I've been tasked to upgrade an old system and there's many different versions of VB code that uses MDAC to talk to MSSql. Do you know what the difference is between the two code versions? Is there...
4
nitindel
by: nitindel | last post by:
Hi All, I am using DbCom Handler for my DataBase Connectivity. But the Query is not firing i.e recordset is not getting populated... it is Showing the error as follows: ...
1
by: =?Utf-8?B?VmVua2F0ZXNhbiBT?= | last post by:
Hi, I have a requirement of consuming a connection object returned from a COM component deployed in COM+ application. I have given the need for this requirement end of my query. My component...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
jinu1996
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...
0
tracyyun
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.