ORA-12203

From: Date: Tue, 06 Nov 2001 18:21:31 +0000
Subject: ORA-12203
Groups: php.db 
Request: Send a blank email to php-db+get-14068@lists.php.net to get a copy of this message
hello to all!! I have been through the lists to debug this problem. I'm getting the following error: Warning: Oracle: Connection Failed: ORA-12203: TNS:no se ha podido conectar con el destino in D:\users\Lsalazar\Estudio\php\pruebas\conexion4.php on line 6 :-( No Conectada a Base de Datos Running: Windows NT IIS 4 Oracle 8 PHP 4.0.6 The php file is: 1 : <? 2 : $usuario="diana"; 3 : $contrasena="diana"; 4 : $tns="dianadesinc"; 5 : PutEnv("ORACLE_SID=dinc"); 6 : if ($conn=Ora_Logon("$usuario", "$contrasena", "$tns")) { 7 : echo "<B>Conectada a Base de Datos<B>\n"; 8 : } else { 9 : echo "<B>Falla :-( No Conectada a Base de Datos<B>\n"; 10: } 11: ?> I know that the possible causes are: 1) Missing or wrong ORACLE_HOME value in your ORACLE.INI file. 2) Wrong TCP/IP port specified either in your TNSNAMES.ORA file or your ORACLE.INI file (if connecting through TCP/IP). But the ORACLE.INI file is empty, how it is written? exist other causes? thank you very much by his it helps -- greetings, Lilian mailto:lsalazar@auge.cl

« previous php.db (#14068) next »