RESPONDER UNA PREGUNTA

Si para responder la pregunta, crees necesario enviar un archivo adjunto, puedes hacerlo a traves del correo [email protected]

    Pregunta:  28252 - ERROR EN ACTUALIZACION EN ALGUNOS SERVIDORES
Autor:  Ruperto Marin
Buenas a todos.
Resulta que todas las paginas ASP, donde tengo actualizaciones, me funcionan bien en ciertos servidores, pero mal en otros. Si alguien me puede colaborar le estaré inmensamente agradecido.
Un trozo de código de actualización es el siguiente:

dim oRec
set oRec = server.CreateObject ("ADODB.recordset")
orec.CursorType = 3
oRec.CursorLocation = 3
oRec.LockType = 3
oRec.open "Select * from Visitas", Application("sConexMen")
oRec("Contador") = oRec("Contador") + 1
oRec.update

y se produce el siguiente mensaje:

The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

Please try the following:
· Click the Refresh button, or try again later.
· Open the server home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

Technical Information (for support personnel)
· Error Type:
Microsoft JET Database Engine (0x80004005)
Operation must use an updateable query.
/SIYSI/global.asa, line 29
· Browser Type:
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
· Page:
GET /siysi/Default.asp
· Time:
Monday, February 04, 2002, 6:07:28 PM
· More information:
Microsoft Support

He ensayado varias combinaciones para los atributos del objeto recordset, pero sigue igual.
Tambien les comento que he utilizado DSN y conexiones directas, pero nada.
Gracias de antemano.


Nombre
Apellidos
Correo
Comentarios