I have a .net website that resides on a webserver running IIS 6.0 on win2k3 server. This includes a virtual directory that points via a UNC name to a file server. The "connect as" is set to use a service account in our AD domain that has access to the web application as well as write and modify to the file server folder. I am currently using aliasing with the service account and have set the appropriate permissions on the Miscrosoft.net temp files folder on the web server. I am unable to create a write directory or save a file. Any information will be appreciated.
First, "Connect as" passwords will not be cached forever in memory (reboot) and you may need to seek alternative to this connectivity method for that reason unfortunately.
Secondly, does the ASP.NET worker account "IUSR_IIS Machine Name" have access to the destination directory you are writing on? I am assuming no, because it will not be a known user on the remote server. This means that the "Everyone" special user/object will have to be given access (in your particular scenario).
An alternative would be to connect using a user known to both hosts.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With