Hi all,
I encountered problem when using VB 6 with Oracle 9i, can anyone give me some ideas how to solve it? or any other good methods? Many thx...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Set conn = New ADODB.Connection
conn.CursorLocation = adUseClient
conn.ConnectionString = "DRIVER={Microsoft ODBC for Oracle};" _
& "SERVER=xxx;" _
& "DATABASE=xxx;" _
& "UID=xxx;" _
& "PWD=xxx;" _
& "OPTION=" & 1 + 2 + 8 + 32 + 2048 + 163841
conn.Open
Error : [Microsoft][ODBC Driver Manager]Driver's SQLSetConnectAttr failed
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Set conn = New ADODB.Connection
conn.CursorLocation = adUseClient
conn.ConnectionString = "DRIVER={Oracle in OraHome92};" _
& "SERVER=xxx;" _
& "DATABASE=xxx;" _
& "UID=xxx;" _
& "PWD=xxx;" _
& "OPTION=" & 1 + 2 + 8 + 32 + 2048 + 163841
conn.Open
Error : [Oracle][ODBC][Ora]ORA-12560: TNS: protocol adapter error
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I wonder is there any problem about the "DRIVER" or Oracle setup problem?
Best Regard,
dumdum
I encountered problem when using VB 6 with Oracle 9i, can anyone give me some ideas how to solve it? or any other good methods? Many thx...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Set conn = New ADODB.Connection
conn.CursorLocation = adUseClient
conn.ConnectionString = "DRIVER={Microsoft ODBC for Oracle};" _
& "SERVER=xxx;" _
& "DATABASE=xxx;" _
& "UID=xxx;" _
& "PWD=xxx;" _
& "OPTION=" & 1 + 2 + 8 + 32 + 2048 + 163841
conn.Open
Error : [Microsoft][ODBC Driver Manager]Driver's SQLSetConnectAttr failed
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Set conn = New ADODB.Connection
conn.CursorLocation = adUseClient
conn.ConnectionString = "DRIVER={Oracle in OraHome92};" _
& "SERVER=xxx;" _
& "DATABASE=xxx;" _
& "UID=xxx;" _
& "PWD=xxx;" _
& "OPTION=" & 1 + 2 + 8 + 32 + 2048 + 163841
conn.Open
Error : [Oracle][ODBC][Ora]ORA-12560: TNS: protocol adapter error
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I wonder is there any problem about the "DRIVER" or Oracle setup problem?
Best Regard,
dumdum