Foros del Web » Programando para Internet » ASP Clásico »

Illegal assignment:??

Estas en el tema de Illegal assignment:?? en el foro de ASP Clásico en Foros del Web. Hola, tengo un foro y cuando ingreso un post.. me sale este error: Microsoft VBScript runtime error '800a01f5' Illegal assignment: 'titulo' /public/noticias/foroguardar.asp, line 26 El ...
  #1 (permalink)  
Antiguo 14/06/2005, 04:21
Avatar de deccweb  
Fecha de Ingreso: febrero-2003
Ubicación: Mataro
Mensajes: 365
Antigüedad: 22 años, 2 meses
Puntos: 0
Illegal assignment:??

Hola, tengo un foro y cuando ingreso un post.. me sale este error:


Microsoft VBScript runtime error '800a01f5'

Illegal assignment: 'titulo'

/public/noticias/foroguardar.asp, line 26


El foro me funciona desde hace mucho tiempo.. y no se q ha pasado hoy q no funciona el ingreso de posts.
__________________
Calle17.net

edgargranados.es
  #2 (permalink)  
Antiguo 14/06/2005, 06:30
Avatar de trasgukabi  
Fecha de Ingreso: septiembre-2004
Mensajes: 2.749
Antigüedad: 20 años, 7 meses
Puntos: 18
pon la linea que da el error
  #3 (permalink)  
Antiguo 14/06/2005, 10:24
Avatar de AlZuwaga
Colaborador
 
Fecha de Ingreso: febrero-2001
Ubicación: 34.517 S, 58.500 O
Mensajes: 14.550
Antigüedad: 24 años, 2 meses
Puntos: 535
Buscando por el número de error en aspfaq.com llegué aquí:
http://www.aspfaq.com/show.asp?id=2310

y dice...

Cita:
And finally, if you tried to assign a variable to your own 'version' of an intrinsic object, e.g.:

<%
response = "foo"
%>

In previous versions of IIS/ASP, this latter type of error can also lead to:

Microsoft JScript runtime error '800a1390'
Illegal assignment

' or

Microsoft VBScript runtime error '800a01f5'
Illegal assignment: 'someFunction'



Another possibility is that you forgot to use SET when assigning an object to a variable, e.g.:

<%
set conn = CreateObject("ADODB.Connection")
conn.open "<connection string>"
rs = conn.execute("SELECT columns FROM table")
if not rs.eof then ' error here
' ..
%>

The line starting with "rs = " should start with "SET rs = " ...
__________________
...___...
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 18:43.