Re: 800a0046 Permission Denied for filesystemobject on local disk
From: Matt Summers (msummers2k@hotmail.com)
Date: 05/05/02
- Next message: Matt Summers: "Re: IISLockdown question"
- Previous message: Aaron Margosis [MS]: "Re: NT security accounts database vs. "other""
- In reply to: George L.: "800a0046 Permission Denied for filesystemobject on local disk"
- Next in thread: Franklin Simmons: "Re: 800a0046 Permission Denied for filesystemobject on local disk"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Matt Summers" <msummers2k@hotmail.com> Date: Sun, 5 May 2002 00:17:08 -0500
Turn on file auditing for that directory and see what the problem is.
-matt
"George L." <nospam@mail.com> wrote in message
news:Px_A8.20648$uE2.1422325@news2.calgary.shaw.ca...
> Hello fellows,
>
> I need some help with '800a0046' Permission denied error which I am
getting
> on W2K SP2 IIS5 server.
> I did look through TechNet and newsgroups but so far I was not been able
to
> solve the issue completely.
> Originally my code was:
>
> varFilePath = "C:\Temp\myfile.txt"
> set objFSO = server.createobject("scripting.filesystemobject")
> set objtxtFile = objFSO.createTextFile(varFilePath, true)
>
> with c:\temp ntfs permissions set to "full control" for everyone and
> explicitly for IUSR_MACHINE and IWAM_MACHINE. After I read and follow
steps
> from MS Kbase article Q197964, the problem remains unless I created a
share
> and changed my code to:
>
> varFilePath = "\\MACHINE\Temp\myfile.txt"
> set objFSO = server.createobject("scripting.filesystemobject")
> set objtxtFile = objFSO.createTextFile(varFilePath, true)
>
> That worked to create a file but not allows me to delete it after I done
> with it. This code:
>
> objFSO.DeleteFile varFilePath
>
> would continue to fail with '800a0046' Permission denied error. What else
> can be done here?
> I should note that W2K machine is PDC with IISLockdown tool applied as
well
> as Cumulative Patch for Internet Information Services (Q319733) installed.
> Are those two can be potential problems for filesystemobject called by
IUSR
> ?
>
> Would appreciate any advise.
>
> Thanks in advance.
>
> George L.
>
>
- Next message: Matt Summers: "Re: IISLockdown question"
- Previous message: Aaron Margosis [MS]: "Re: NT security accounts database vs. "other""
- In reply to: George L.: "800a0046 Permission Denied for filesystemobject on local disk"
- Next in thread: Franklin Simmons: "Re: 800a0046 Permission Denied for filesystemobject on local disk"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]