Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS Question.. 3 77
Displaying number of records depdning on table contents - classic asp 13 37
Unable to start eclipse ? 17 128
Bypass cross origin issues on development site 3 63
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

914 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

14 Experts available now in Live!

Get 1:1 Help Now