[thelist] Permission denied error using ASP's FileSystemObject
Craig
cd-ml at aardvark.net.au
Fri Aug 30 13:07:01 CDT 2002
Hi all,
I'm getting a 'Permission denied' error when using the OpenTextFile part of
ASP's FileSystemObject. The line in question is below:
set fname2 =
fs2.OpenTextFile(Server.MapPath("..\headlines\include_headlines_recent.htm"),2
,true)
the funny thing is that the page works fine when browsing locally
(http://localhost/), but chokes when I run it from a machine (running win98,
IE5) accross the network. I've read that the user 'IUSR_<machine_name>' must
have read and write access to the folder, but if the page works locally, why
not accross the network.
TIA,
Craig.
More information about the thelist
mailing list