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: 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: 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)
  • RE: Path to document cantīt be found when opening .doc from webfolder (w2k3 TS server)
    ... If you do not access it from a Terminal session, ... If you doesn't open it from a web folder in IE but from a common file ... This posting is provided "AS IS" with no warranties, ... >webfolder in Internet Explorer in a Windows 2003 server TS-enviroment. ...
    (microsoft.public.office.misc)
  • Re: Default User Settings??
    ... Microsoft Online Partner Support ... This posting is provided "AS IS" with no warranties, ... when you use Group Policy Management Console to change the ... |> | folder. ...
    (microsoft.public.windowsxp.general)