FileUpload to a Virtual Directory in a load balanced server environment.
Posted on 2007-04-06
I am trying to build fileupload into my ASP.NET app and I am trying to save to a virtual directory on my web server. I am deploying to a load balanced web server environment(2 servers). Both servers have a virtual directory under my applications root directory AND are pointing to the same shared folder on a separate file server. The problem is that when I mappath I get a folder phyical path that my application's user account does not have access to on the file server.
We believe we need to use HTTP to access the folder to take advantage of impersonation NTFS rights on the share but am not finding code or info on how to do this...
Any ideas, suggestions, links...?
(This is a follow up to a still open question, but I have re-oriented the question.)