The target machine has full access for both the sources IUSR and IWAM accounts
but I'm not sure how to redefine the sources box to use the global IWAM account i
created.
I'm pretty sure there is something programmatic I have to do to allow the
application to access remote files.
I found this, but I dont' really know what it does and It definately hasn't helped
FileIOPermission f = new FileIOPermission
(FileIOPermissionAccess.AllAccess, "H:\\client-websites\\");
f.AllFiles = FileIOPermissionAccess.AllAccess;
Nine ppl on experts exchange couldn't figure this puppy out, and I'm quickly
running out asprin. GL weary challenger.
Check your global (or application) config.web file -Security settings-, set
impersonation enable to true (false is the default).
...
<security>
<authentication mode="Windows" />
<identity>
<impersonation enable="true" />
</identity>
</security>
....
or:
....
<security>
<authentication mode="Windows" />
<identity>
<impersonation enable="true" name="machine\user"
password="samspwd"/>
</identity>
</security>
....
- if you want to impersonate a specific user.
Note that ASP.NET doesn't use IWAM_......, but only IUSR_xxxxxxx for
unauthenticated clients.
In order to allow unauthenticated clients you should create an account on
the file server with the same IUSR_xxxxxx user ID and password as on the ASP
server.
For local authenticated clients you should create the same user on both
machines with the same password.
Domain members get authenticated by the DC.
Willy.
"Sam Critchley" <sam.cr...@iconmedialab.com.au> wrote in message
news:434f01c09fa4$6416e990$a5e62ecf@tkmsftngxa07...