Oracle - CONNECTIONSTRING ASP - ORACLE

 
Vista:
sin imagen de perfil
Val: 1
Ha aumentado su posición en 19 puestos en Oracle (en relación al último mes)
Gráfica de Oracle

CONNECTIONSTRING ASP - ORACLE

Publicado por arturo (1 intervención) el 01/10/2019 23:44:53
Buenas tardes, tengo un archivo asp

2019-10-01_16-36-34

, donde incluyo la conexion a oracle mediante otro archivo .inc, el cual contiene :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<%
Dim CadCn, CadSQL
Dim Cn
Dim Cmd
Dim Rs, Rs1, Rs2, Rs3, Rs4, Rs5, Rs6, Rs7, Rs8, Rs9, Rs10, Rs11
Set Cn = Server.CreateObject("ADODB.Connection")
Set Cmd = Server.CreateObject("ADODB.Command")
'adUseClient = 3
'Cmd.CursorLocation = adUseClient
Set Rs = Server.CreateObject("ADODB.RecordSet")
Set Rs1 = Server.CreateObject("ADODB.RecordSet")
Set Rs2 = Server.CreateObject("ADODB.RecordSet")
Set Rs3 = Server.CreateObject("ADODB.RecordSet")
Set Rs4 = Server.CreateObject("ADODB.RecordSet")
Set Rs5 = Server.CreateObject("ADODB.RecordSet")
Set Rs6 = Server.CreateObject("ADODB.RecordSet")
Set Rs7 = Server.CreateObject("ADODB.RecordSet")
Set Rs8 = Server.CreateObject("ADODB.RecordSet")
Set Rs9 = Server.CreateObject("ADODB.RecordSet")
Set Rs10 = Server.CreateObject("ADODB.RecordSet")
Set Rs11 = Server.CreateObject("ADODB.RecordSet")


CadCn = "Provider=OraOleDB.Oracle;DATA SOURCE=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ora-sc.tmpla.com)(PORT=1234))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=sisr)));USER ID=UserNotas;PASSWORD=123;"
Cn.open CadCn 
%>

..Sin embargo al cargar la pagina asp de mi portal me da este error:

Microsoft OLE DB Provider for Oracle error '80004005'

ORA-12154: TNS:could not resolve the connect identifier specified

/conexion_CQRS.inc, line 39

..alguna pista por favor
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder