Link to home
Start Free TrialLog in
Avatar of Bruce
BruceFlag for United States of America

asked on

FileUpload to a Virtual Directory in a load balanced server environment.

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.)
SOLUTION
Avatar of Deepak Vasudevan
Deepak Vasudevan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bruce

ASKER

We solved the issue by making the username and password the same for the application and file server.


http://aspalliance.com/336