ADODB.Connection error '800a0bb9'

W

wolverine1654

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top