[thelist] ASP + fileSystemObject + IIS5
Craig
cd-ml at aardvark.net.au
Sun Sep 8 22:08:02 CDT 2002
Are you running Norton Antivirus 2002? If so, disable "Script Blocking".
Craig.
----- Original Message -----
From: "Jason Hepi" <contact at hepi.fsnet.co.uk>
To: <thelist at lists.evolt.org>
Sent: Monday, September 09, 2002 6:18 AM
Subject: [thelist] ASP + fileSystemObject + IIS5
> Hi All,
>
> Can anyone help me to get the fileSystemObject working correctly with IIS5.
> I've tried giving full access permissions to IUSR_MyMachineName for the
> folder in which I want write to an existing XML file - but I'm still getting
> the same response ... which appears to be nothing followed by a timeout.
>
> This is the code from my ASP page:
>
>
>
> Dim xmlStr
>
> xmlStr = "<?xml version=""1.0"" encoding=""UTF-8""?>"
> xmlStr = xmlStr & vbCrLf & "<timetable>"
> xmlStr = xmlStr & vbCrLf & "<type>example data</type>"
> xmlStr = xmlStr & vbCrLf & "</timetable>"
>
>
> Set fs = server.CreateObject("scripting.FilesystemObject")
> Set newXML =
> fs.CreateTextFile("http://localhost/dev/client/asp/xml/timetable.xml", true)
> newXML.write(xmlStr)
> newXML.close
>
> Set fs = Nothing
>
>
>
> Any help greatly appreciated,
>
> Jason
>
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
More information about the thelist
mailing list