Ciao ho questo code:perche restituisce quest'errore:codice:Response.Buffer = true xls = trim(Request.QueryString("xls")) path_temp = server.mappath(""& xls &".xls") strNome = "Clienti.xls" Set objStream = Server.CreateObject("ADODB.Stream") objStream.Type = adTypeBinary objStream.Open objStream.LoadFromFile path_temp ' stream generico, IE chiede di salvare Response.ContentType = "octet/stream" ' imposto il nome del file Response.AddHeader "Content-Disposition", "attachment;filename=" & StrNome Response.BinaryWrite objStream.Read objStream.Close Set objStream = Nothingla line 18 è questa:ADODB.Stream error '800a0bba'
File could not be opened.
/public/download.asp, line 18codice:objStream.LoadFromFile path_temp![]()