Uso questo codice per generare un HTML da ASP
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
Alla riga in rosso mi dà errore:
codice:
Tipo di errore:
msxml3.dll (0x80070005)
Accesso negato.
I permessi nella cartella credo siano a posto (nella stessa aggiorno DB, faccio Upload e gestione di file, tutto senza problemi) perchè non riesco??