Solved

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

Posted on 2007-04-06
3
232 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
ID: 18870920
Did you consider WebDAV Put?
0
 
LVL 25

Accepted Solution

by:
kevp75 earned 300 total points
ID: 18871627
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
ID: 18883443
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

820 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