Solved

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

Posted on 2007-04-06
3
228 Views
Last Modified: 2013-11-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.)
0
Comment
Question by:Bruce
3 Comments
 
LVL 15

Assisted Solution

by:deepaknet
deepaknet earned 200 total points
Comment Utility
Did you consider WebDAV Put?
0
 
LVL 25

Accepted Solution

by:
kevp75 earned 300 total points
Comment Utility
This is assuming you already have some coding built already to do the actual uploading...

Basics...  IUSR_machinename (the IIS anonymous user account) needs to have read/write/modify access on the folder being uploaded to...
0
 
LVL 1

Author Comment

by:Bruce
Comment Utility
We solved the issue by making the username and password the same for the application and file server.


http://aspalliance.com/336
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now