Ciao a tutti, ricevo il seguente errore:
Provider error '80004005'
Unspecified error
/inc_News.asp, line 8
Questo è il codice del file include:
Da cosa può essere dovuto l'errore? il database main.mdb si trova nella stessa cartella del file inc_news.aspcodice:Dim arrTitolo(5) Dim arrDescrizione(5) Dim arrLink(5) Set objConn = Server.CreateObject("ADODB.Connection") objConn.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("main.mdb") set rs=server.createobject("ADODB.Recordset") 'LEGGO I VALORI PREIMPOSTATI strSQL2 = "SELECT * FROM tabNews" rs.Open strSQL2, objConn if not rs.eof then i=0 while NOT rs.EOF arrTitolo(i) = rs("Titolo") arrDescrizione(i) = rs("Descrizione") arrLink(i) = rs("Link") i=i+1 rs.movenext wend end if objConn.close set objConn = nothing set rs = nothing
Grazie![]()

Rispondi quotando
