Ho un problema che mi attanaglia!!!!
Una connessione a sql server con oledb che sul server sql locale non da problemi, online restituisce questo errore:
----------------------------------
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/firme2_variazione_sql.asp, line 33
---------------------------------------------
Un pezzo del codice della pagina:
Rec.PageSize = Record_Pagina
Rec.Open sql, Conn, 3, 3
Pag = CInt(Request.Querystring("pag"))
If (Not Rec.Eof) Then
If Pag>Rec.PageCount Then
Pag = Rec.PageCount
End If
If Pag = 0 Then
Pag = 1
End If
----Riga che genera l'errore ---Rec.AbsolutePage = Pag
indice_inizio = pag-(Numerazione_Max/2)
If (indice_inizio>(Rec.PageCount-Numerazione_Max)) Then
indice_inizio = Rec.PageCount-Numerazione_Max+1
End If
If (indice_inizio<=0) Then
indice_inizio = 1
End if
indice_fine=indice_inizio+Numerazione_Max-1
If (indice_fine>Rec.PageCount) Then
indice_fine = Rec.PageCount
End If
Perchè solo online, qualcuno può darmi una mano?
Grazie![]()

Rispondi quotando