Re: ASP.NET impersonation - getfiles() problem
- From: "Anthony Jones" <Ant@xxxxxxxxxxxxxxxx>
- Date: Tue, 12 Feb 2008 10:12:31 -0000
"float" <marcinsvr@xxxxxxxxx> wrote in message
news:d646eddc-ba4e-44de-97f3-3ed0a95613c1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I've got problem with listing files in UNC path. Result is: Access to
the path '\\serwername\path' is denied. I'm using IIS 5.1 on WinXP
Pro. All machines in one domain. Impersonation is on.
web.config:
<system.web>
<identity impersonate="true"/>
<authentication mode="Windows"/>
</system.web>
Integrated Windows authentication checked and Anonymous access
unchecked in IIS configuration.
I've been googling on this one for a few days now and checked various
configurations - none worked. The strange thing is that when trying
this on a serwer machine it works fine, but any other machine gets
error. The other thing is: when I hardcoded my domain account and
password in the web.config all works excelent (on every machine).
If anyone got any clue what I'm doing wrong please help - I've just
run out of ideas.
A machine must be trusted and configured for delegation. IOW the file
server doesn't trust your failing machines to access its resources on behalf
of another user.
See:-
http://technet2.microsoft.com/windowsserver/en/library/b207ee9c-a055-43f7-b9be-20599b694a311033.mspx?mfr=true
--
Anthony Jones - MVP ASP/ASP.NET
.
- Follow-Ups:
- Re: ASP.NET impersonation - getfiles() problem
- From: float
- Re: ASP.NET impersonation - getfiles() problem
- References:
- ASP.NET impersonation - getfiles() problem
- From: float
- ASP.NET impersonation - getfiles() problem
- Prev by Date: Re: Session State and cookies
- Next by Date: Re: Session State and cookies
- Previous by thread: ASP.NET impersonation - getfiles() problem
- Next by thread: Re: ASP.NET impersonation - getfiles() problem
- Index(es):
Relevant Pages
|