Re: ASP.NET impersonation - getfiles() problem

Tech-Archive recommends: Speed Up your PC by fixing your registry



"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


.



Relevant Pages

  • Re: ASP.NET impersonation - getfiles() problem
    ... > I've got problem with listing files in UNC path. ... I'm using IIS 5.1 on WinXP ... delegation" because of inside security procedures (bla, bla, bla). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS 5, Windows XP & Accessing VFP Tables across the network using a COM
    ... you wont be able to use a UNC path via the http protocol. ... > When I set the datapath property to this other networked computer (ie. ... The IIS machine ... > full access rights to the network computer in question, ...
    (microsoft.public.windows.server.networking)
  • Re: ASP.NET impersonation - getfiles() problem
    ... I've got problem with listing files in UNC path. ... I'm using IIS 5.1 on WinXP ... unchecked in IIS configuration. ... when I hardcoded my domain account and ...
    (microsoft.public.dotnet.general)
  • ASP.NET impersonation - getfiles() problem
    ... I've got problem with listing files in UNC path. ... I'm using IIS 5.1 on WinXP ... unchecked in IIS configuration. ... when I hardcoded my domain account and ...
    (microsoft.public.dotnet.framework.aspnet)
  • ASP.NET impersonation - getfiles() problem
    ... I've got problem with listing files in UNC path. ... I'm using IIS 5.1 on WinXP ... unchecked in IIS configuration. ... when I hardcoded my domain account and ...
    (microsoft.public.dotnet.general)