Ciao a tutti.
Ho questo codice:che però restituisce errore nell' include file quando non ho record da estrarre.codice:if rs.eof then response.write "Nessun record disponibile else set fso = createobject("scripting.filesystemobject") file_da_creare = rs("uoat") & "_"& day(date())& "-" & month(date())& "-"& year(date()) &".doc" path_temp = server.mappath("&file_da_creare&") end if rs.Close Cn.Close Set rs = Nothing Set Cn = Nothing %>
Include file:L'errore segnalato è il seguente:codice:if rs.eof then response.write "Nessun record disponibile" else 'codice per invio email link.AttachFile path_temp <---- riga dell'errore rs.Close Cn.Close Set rs = Nothing Set Cn = Nothing end ifDa che dipenderà? GrazieError Type:
(0x80004005)
Unspecified error
/sendemail.asp, line 53

Rispondi quotando