Re: Directory size - Security ACLs causing Endless loop

From: Phil Rayner (enlighten_at_newsgroups.nospam)
Date: 09/08/05


Date: Thu, 8 Sep 2005 13:29:51 +1200

It works fine with an empty folder. Its when I add a sub folder to that
folder with no security access (ie I purposfully take away the security ACLs
on that folder for the ASP.NET worker process.

It only seems to be a problem trapping the error. I suspect it is a problem
in the try {} catch { } statements.

"[MSFT]" <lukezhan@online.microsoft.com> wrote in message
news:Rngm8a4sFHA.3064@TK2MSFTNGXA01.phx.gbl...
> Hello,
>
> Was the problem related to the Directory you pass to function "DirSize"?
> for example, if you create a new and empty folder on your disk and test it
> with your code, will it also generate the error? I aslo suggest you create
> a simple windows form application with function "DirSize" and test if it
> also generate same problem with same input.
>
> Luke
>



Relevant Pages

  • Re: Create folders and subfolders from Excel
    ... Dim intRow, objExcel, objSheet, strPathExcel ... Dim strHomeFolder, strHome, strUser ... Simply concatenate the sub folder name with the main ... 'Call for each sub folder required. ...
    (microsoft.public.excel)
  • Re: Backups to CD?
    ... >>> is an empty folder ... But that Folder *doesn't* exist, until the Program has been Run. ... (when you found that "NTBackup" Folder, ... That seems to be the same as is on all the WinXP Home CDs that have ...
    (uk.people.silversurfers)
  • Re: Create folders and subfolders from Excel
    ... Simply concatenate the sub folder name with the main folder. ... Dim intRow, objExcel, objSheet, strPathExcel ... Dim strHomeFolder, strHome, strUser ...
    (microsoft.public.excel)
  • Re: Need help with Shared drives and permissions
    ... If you check a sub folder and see that it is inheriting ... that inherits permissions from a parent folder and add a user or group. ... I turn off inheritance. ...
    (microsoft.public.windows.server.general)
  • Re: Leopard rant - hard shutdowns all the time
    ... would letterless mount points help for removable media? ... Click Mount in the following empty NTFS folder (if it is not ... Type the path to an empty folder on an NTFS volume, ...
    (uk.comp.sys.mac)