Re: ADAM - machine\ASPNET - file permissions
- From: "Lee Flight" <lef@xxxxxxxxxxxxxxx>
- Date: Fri, 11 Aug 2006 22:18:15 +0100
Hi
you might want to try posting over on the dotnet.framework.aspnet.security
newsgroup. It seems this issue around the ASPNET account has come up
before:
http://groups.google.co.uk/group/microsoft.public.dotnet.framework.aspnet.security/browse_thread/thread/7c4bb6c56119a68d/
Lee Flight
"Noremac" <Noremac@xxxxxxxxxxxxxxxxx> wrote in message
news:1EF68DF0-4239-4D7A-B50A-76F70FD8CF02@xxxxxxxxxxxxxxxx
Hi Lee,
ASPNET was already set as an Administrator as per step five.
I agree it is probably not an ACL. I turned on auditing file access for my
entire C drive and did not get any failures when the exception triggered.
Another thing I observed was that my domain account (which is a local
administrator) works when I use it for impersonation.
Another local administrator account did not work, just like the local
ASPNET
account.
Is ADAM trying to do something with the domain AD maybe?
"Lee Flight" wrote:
Hi
if the account is an ADAM administrator then it will have full
permissions
over the ADAM instance, it will not need the ACL on the
Program Files\Microsoft\ADAM\....
directory.
I think your permissions issue must be elsewhere, did you add
the ASPNET account to the AzMan Administrators role
Step 2
5. Under Authorization Manager user role ....
in the link MSDN PAG doc link.
Lee Flight
"Noremac" <Noremac@xxxxxxxxxxxxxxxxx> wrote in message
news:7003EAAF-D2EB-4D1F-B33D-673433768268@xxxxxxxxxxxxxxxx
I have been working through this article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGHT000018.asp
which is very good.
Everything is running locally on my XP dev machine, including ADAM. I
am
trying to get my ASP.NET 2.0 app to use it as its AzMan data store.
As per the article, Network Service is the account that runs the ADAM
instance. However, the account that runs ASP.NET is machine\ASPNET. I
don't
want to modify my processModel nor my web.config for impersonation.
I just need to know what permissions ASPNET needs in order to get to
ADAM.
So far I have ASPNET setup in ADAM as an Administrator and I have given
ASPNET the same ACL as the Network Service at "C:\Program
Files\Microsoft
ADAM\AdamForRolesProvider".
Even with these changes, I still get the error: The system cannot find
the
file specified. (Exception from HRESULT: 0x80070002).
I confirmed it was a permission issue by impersonating a local
administrator
in the web.config. When I do that, it works.
.
- References:
- Re: ADAM - machine\ASPNET - file permissions
- From: Lee Flight
- Re: ADAM - machine\ASPNET - file permissions
- Prev by Date: Re: Usernames slow to show up in permissions
- Next by Date: Re: LDAP Query
- Previous by thread: Re: ADAM - machine\ASPNET - file permissions
- Next by thread: Re: ADAM and WSS v3
- Index(es):
Relevant Pages
|