My server admin and I are trying to figure out how to get impersonation
working to be able to upload a file from the client browser thru the web
server to a network file server. My network ID for testing is twells. Our
domain for testing is dev.com. If I don't have impersonation set in
web.config the user ID shown by
System.Security .Principal.Wind owsIdentity.Get Current().Name is
"twells/ASPNET" which does not exist on our network. If I set <identity
impersonate="tr ue"/> in web.config the the user ID is "twells_IUS R1" which
also does not exist on our network. If I set <identity impersonate="tr ue"
UserName="twell s" Password="MyDev Pass5"/> (MyDevPass5 is my dev password) I
get a web.config syntax error. I've tried several variations on "twells"
such as "twells/dev.com" or "twells\dev.com " or "dev.com/twells" or
"dev.com\twells ", but I get the same error. Om MSDN I can't find anything
useful that explains why this is happening or how to fix it.
Any help is greatly appreciated.
Thanks!
Tom