Uso questo codice per generare un HTML da ASP
Alla riga in rosso mi dà errore:codice:Response.Buffer = True Dim objXMLHTTP, xml pagina="http://localhost/prova/alvolo.asp?art=prova2" Set xml = Server.CreateObject("Microsoft.XMLHTTP") xml.Open "GET", pagina, False xml.Send strHtml = xml.responseText Set FSO = CreateObject("Scripting.FileSystemObject") sPath = Server.MapPath("/prova/prova2.htm") Set f = FSO.CreateTextFile(sPath, True) f.WriteLine(strHtml) f.Close Set f = Nothing Set FSO = Nothing set xml = Nothing
I permessi nella cartella credo siano a posto (nella stessa aggiorno DB, faccio Upload e gestione di file, tutto senza problemi) perchè non riesco??codice:Tipo di errore: msxml3.dll (0x80070005) Accesso negato.
![]()

Rispondi quotando