me sale este error :
ADODB.Command error '800a0bb9'
The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another.
/a_ingreso.asp, line 242
con el siguiente codigo:
Set conexion = Server.CreateObject("ADODB.Connection")
conexion.Open (cadena)
Set objCmd = Server.CreateObject("ADODB.Command")
objCmd.ActiveConnection = conexion
objCmd.CommandType = 4 ' (indico que el tipo, es un procedimiento almacenado) 'linea 240
objCmd.CommandText = "sp_ingresa_encuesta_y_DD"
objCmd.Parameters.Append objCmd.CreateParameter("@rut1",adVarChar ,adParamInput, 9,rut1) // en esta linea me sale el error
objCmd.Parameters.Append objCmd.CreateParameter("@nombre",adVarCh ar,adParamInput, 21,nombre)
...(son hartos parametros)
y si cambio el adParamInput por 1 de esta forma:
objCmd.Parameters.Append objCmd.CreateParameter("@rut1",adVarChar ,1, 9,rut1) // en esta linea me sale el error
me sale este otro error
ADODB.Parameters error '800a0e7c'
The application has improperly defined a Parameter object.
/a_ingreso.asp, line 242
Ojala me puedan ayudar ...pues he buscado arto y no se que es
