How to access a network file path \\foo\bar.txt from an .aspx and from a
custom IHttpHandler?
How to specify which account that aspx application should use when doing
file IO from network paths?
When I try to open the file from .aspx the file read throws: Logon failure:
Logon failure: unknown user name or bad password.
When I try to open the file from a custom IHttpHandler the file read throws:
Logon failure: unknown user name or bad password.
\\foo\bar.txt grants read access to the group "Everyone" and everyone but my
aspx application are able to read \\foo\bar.txt
How to specify which account that aspx application should use when doing
file IO from network paths?
Daniel - 15 Mar 2006 07:30 GMT
if i add
<identity impersonate="true" userName="domainzzz/userzzz" password="passzzz"
/>
to my web config i just get error 500
> How to access a network file path \\foo\bar.txt from an .aspx and from a
> custom IHttpHandler?
[quoted text clipped - 12 lines]
> How to specify which account that aspx application should use when doing
> file IO from network paths?