<%
dbName = "database/db_demo.mdb"
Conn = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & server.mappath(dbName)
Set rs = Server.CreateObject("ADODB.Recordset")
sSQL = "Select * from messaggi where titolo<> '' ORDER BY modificato DESC"
rs.open sSQL, Conn, 3, 3
pag = CInt(Request.QueryString("id"))
if (isNumeric(pag) or pag < 1) then
pag = 1
end if
if ( NOT rs.EOF) then
rs.PageSize = 20
rs.AbsolutePage = pag
end if
i = 0
str = "SELECT COUNT(*) AS id FROM messaggi WHERE titolo <> '' AND id = id"
ContaDiscussioni = rs.Execute(str) (mi segna qui l'errore)
%>
il messaggio di errore dell'IIS è: "Errore di run-time di Microsoft VBScript (0x800A01B6). Proprietà o metodo non supportati dall'oggetto: 'Execute' "
modificando "rs.Execute" con "Conn.Execute"
l'errore è:" necessario oggetto: 'DRIVER={microsoft AC' "

Rispondi quotando