Ver Mensaje Individual
  #4 (permalink)  
Antiguo 14/06/2004, 01:31
JaioneA
 
Fecha de Ingreso: mayo-2004
Mensajes: 23
Antigüedad: 21 años
Puntos: 0
Lo he probado y no me funciona

He ejecutado el siguiente codigo:
</head>
<body>

<%
set v_conn = Server.createobject ("adodb.connection")
v_conn.open "dd_hf"


if( v_conn.status > 0 ) then
response.write ("v_conn está abierto")
else
response.write ("v_conn está cerrado")
end if
%>

</body>
</html>

Me da el error:


Tipo de error:
ADODB.Connection (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/dd/ezabatu.asp, line 11

La linea 11 es-> if( v_conn.status > 0 ) then
Muchas Gracias.