Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/03/2003, 15:54
hugorei
(Desactivado)
 
Fecha de Ingreso: agosto-2002
Mensajes: 1.458
Antigüedad: 22 años, 10 meses
Puntos: 0
problema de conexion a la base

TENGO UN CODIGO DE UNA ENCUESTA BAJADA DE INTERNET , LA MISMA TIENE UN INCLUDE DONDE ESTA LA CONEXION A LA BASE DE DATOS PERO CUANDO EJECUTO EL POGRAMA ESTA INSTRUCCION NO PUEDE CONECTARSE A LA BASE EL CODIGO DEL INCLUDE ES EL SIGUIENTE :

<%
dim connection
dim Recordsx
dim sqltemp

set connection = Server.CreateObject("ADODB.Connection")
Connection.Open "DSN=polldb;"
Set Recordsx = Server.CreateObject("ADODB.Recordset")
sqltemp = "SELECT * FROM poll"
Recordsx.Open sqltemp, Connection,2,3
%>

POR QUE NO ENCUENTRA LA RUTA ? MI VASE SE LLAMA pool Y TODO EL CODIGO COMPLETO ESTA EN UNA CARPETA LLAMADA encu.

gracias a quien me dee una manito con este tema