Re: Access to path is denied

From: Wes Henderson (wes1024_at_hotmail.com.nospam)
Date: 03/25/04


Date: Thu, 25 Mar 2004 11:48:46 -0600

1- i would try and verify that the file is not opened by another process.
an easy way to do this would be to reboot the machine that has the file
2- you say the folders have the same permissions... double check and make
sure the files do as well

-- 
Regards,
Wes Henderson,
MCSE: Security
In order to help everyone, please direct all replies to this newsgroup.
This posting is my personal effort to provide help and is not on behalf of
any company.
Also, this posting is provided "AS IS" with no expressed or implied
warranties.
"Phil" <elpapb@lboro.ac.uk> wrote in message
news:478FF58D-BF71-43EC-A7F7-BAEF2164CB7E@microsoft.com...
> I've developing an ASP.NET C# web application and until recently,
everything was running fine. Now, if I File.Delete on a file in a specific
folder, I get the 'Access to path
C:\inetpub\wwwroot\pages\forms\training.doc is denied' error.
>
> However, it is only on this specific folder. If the code executes a
File.Delete on another file in a different folder, it works fine.
>
> Both folders have exactly the same permissions.
>
> Please help!


Relevant Pages

  • Re: recurring 1058/1030 USERENV events every 5 mins
    ... This posting is provided "AS IS" with no warranties, ... The policy causing the 1058 messages ... permissions either so surely if this was the issue the messages ... Root folder is the highest folder so "windows" ...
    (microsoft.public.windows.server.general)
  • RE: changing permissions on folders in web setup project created in VS
    ... Programmatically Set NTFS File System Folder Permissions by Using ... includes Windows 2003 with IIS 6, we may need to do some additional work. ... This posting is provided "as is" with no warranties and confers no rights. ...
    (microsoft.public.vsnet.general)
  • Re: strange folder
    ... Posting any attachments is a good way to get ignored. ... Copy HJT to it's own folder, this is where the log files will be saved. ... quick start here on how to create a log file that can be copied/pasted into a forum ...
    (microsoft.public.windowsxp.general)
  • Re: Win2K3 - cannot open files without extension
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... in that folder named abc.txt. ... not have the appropriate permissions to access the item" sounds for ...
    (microsoft.public.windows.server.general)
  • RE: AD Error : Directory Service cannot start. Error Status:0xC00002e1
    ... First please check if you find any event error in the Directory Restore ... the problem can occur if the permissions on the NTDS and Sysvol ... folder are incorrect. ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.windows.server.active_directory)