Solved

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

Posted on 2007-04-06
3
231 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
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 NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

785 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