pero es q el roche es q no tiene xq fallar..ayer funcionaba.. pero ok.. lo voy a poner:
<%
xid_auspicio = request.QueryString("id_auspicio")
Set oCN=Server.CreateObject("ADODB.Connection")
oCN.open application("strConexion")
str = "select * from auspiciadores where id_auspicio = "& xid_auspicio
set oRS = oCN.execute(str)
if not oRS.eof then
Set fso = CreateObject("Scripting.FileSystemObject")
'logo
ruta_logo = Application("URL_UPLOAD_ADMIN")&"\auspicios\" & trim(oRS("logo"))
if (fso.fileExists(ruta_logo)) then
fso.DeleteFile ruta_logo
end if
end if
strSQL = "delete from auspiciadores where id_auspicio = "& xid_auspicio
oCN.execute (strSQL)
%>
Espero me puedan ayudar... xq en serio no sé q ha pasado