U
ulrik
I want to save a file to another computer (via an UNC / mapped network
drive) from an ASP.NET 1.1 application running on win xp iis 6.0. I
have created an ASPNET account on the remote machine and given this
account permissions to write to the folder and I'm able to write the
file if I have the following in my web.config:
<identity impersonate="true" userName="ASPNET" password="1234"/>
....but if I remove this (and use the default impersonation) it fails...
eventhough I've set the password of the aspnet account (on the machine
im trying to write from) to 1234 (under computer administration ->
Accounts). WindowsIdentity.GetCurrent().Name returns "ASPNET" so it
impersonates correct so I think it uses another password... I've read
that this must be set in the machine.config, but this does'nt help. Is
there another place where I have to set the password of the ASPNET
account or....?
drive) from an ASP.NET 1.1 application running on win xp iis 6.0. I
have created an ASPNET account on the remote machine and given this
account permissions to write to the folder and I'm able to write the
file if I have the following in my web.config:
<identity impersonate="true" userName="ASPNET" password="1234"/>
....but if I remove this (and use the default impersonation) it fails...
eventhough I've set the password of the aspnet account (on the machine
im trying to write from) to 1234 (under computer administration ->
Accounts). WindowsIdentity.GetCurrent().Name returns "ASPNET" so it
impersonates correct so I think it uses another password... I've read
that this must be set in the machine.config, but this does'nt help. Is
there another place where I have to set the password of the ASPNET
account or....?