Re: Directory size - Security ACLs causing Endless loop
From: Phil Rayner (enlighten_at_newsgroups.nospam)
Date: 09/08/05
- Next message: [MSFT]: "Re: Directory size - Security ACLs causing Endless loop"
- Previous message: Ben Waldron: "Re: Context.User across sites"
- In reply to: [MSFT]: "RE: Directory size - Security ACLs causing Endless loop"
- Next in thread: [MSFT]: "Re: Directory size - Security ACLs causing Endless loop"
- Reply: [MSFT]: "Re: Directory size - Security ACLs causing Endless loop"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
>
- Next message: [MSFT]: "Re: Directory size - Security ACLs causing Endless loop"
- Previous message: Ben Waldron: "Re: Context.User across sites"
- In reply to: [MSFT]: "RE: Directory size - Security ACLs causing Endless loop"
- Next in thread: [MSFT]: "Re: Directory size - Security ACLs causing Endless loop"
- Reply: [MSFT]: "Re: Directory size - Security ACLs causing Endless loop"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|