Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/02/2003, 14:53
Avatar de chechun
chechun
 
Fecha de Ingreso: diciembre-2001
Ubicación: Córdoba - Capital - Alber
Mensajes: 348
Antigüedad: 23 años, 4 meses
Puntos: 0
IMPORTANTE: Conexiona Base de Datos

Hola, esto es muy importante para mí, queria saber cuando me conecto a la base de datos esta todo bien pero estoy imitando un codigo de un chat, y este escribe:

Código:
set RSLastEntry = conn.Execute("select Max(ChatID) as MaxID from tbChat")
		if isnumeric(RSLastEntry("MaxID")) then
			Session("LastEntry") = RSLastEntry("MaxID")
		else .....
bueno cuando yo quiero escribirlo parecido ya que en mi servidor la conexion es diferente yo pongo:

Código:
set RSLastEntry = rstAlta.Execute("select Max(ChatID) as MaxID from tbChat")

if isnumeric(RSLastEntry("MaxID")) then

Session("LastEntry") = RSLastEntry("MaxID")
.....
pero... me canta este error:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

/chechun/login.asp, line 5
QUE HAGO, si alguien sabe aviseme plis..!