Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Oracle connection through ASP
Hello,
I'm using an ASP script to connect to an ORACLE database. I'm trying to connect with the following script:
<%
Set cnnOracle = Server.CreateObject("ADODB.Connection")
strConn = "Provider=MSDAORA.1; Data Source=myDataSource; User
ID=myUserID; Password=myPassword"
cnnOracle.Open strConn
%>
However, i'm receiving the following error message all the time:
Error Type:
Microsoft OLE DB Provider for Oracle (0x80004005)
Error while trying to retrieve text for error ORA-12154
/FundPartners/Corporate/crm/index7.asp, line 8 (LINE 2 IN THE LINES
SHOWN)
The SQLnet.log gives the following:
Fatal NI connect error 12560, connecting to: (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=C:\WINNT\System32\dllhost.exe)(HOST=EXCHANGE)(USER=IWAM_EXCHANGE))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 8.1.7.0.0 - Production Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version8.1.7.0.0 - Production
ns secondary err code: 0
nt main err code: 530
TNS-00530: Message 530 not found; No message file for
product=NETWORK, facility=TNS
nt secondary err code: 126
nt OS err code: 0
Also by connecting through ORACLE ODBC I'm getting the ORA-12154 error. Using MS ODBC for ORACLE gives all kind of MS errors...
Any suggestions??!?!?!?
Thanx Received on Thu Sep 19 2002 - 05:22:36 CDT