error connecting to Oracle 8 database using ODBC [message #99479] |
Wed, 28 November 2001 02:11 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Emma
Messages: 12 Registered: November 2001
|
Junior Member |
|
|
Im trying to connect (DSN connection) from ASP to an Oracle 8 datase.
The database and webserver both run on NT4
I have tested my dsn using ODBC test and it was fine,
Heres the connection strings - I have got the same error message for each
set conn = server.createobject("adodb.connection")
dim strConn
strConn = ("ODBC;DSN=MyDSN;USR=myUid;PWD=myPass")
conn.open strConn
===============================================
Also tried :
Conn.Open "Mydsn", "Myuid", "Mypass"
===================================================
Also tried
strConn = "Provider=MSDAORA.1;Password=MYpass
;User ID=Myuid;Data Source=MYdsn;Persist Security Info=True"
I get the following error when I run the asp page using any of the above connection strings :
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object
/orcl/ora.asp, line 4
Thanks in advance
----------------------------------------------------------------------
|
|
|
|
|
|
|