Solved

network paths "\\127.0.0.1\files" does not work

Posted on 2003-11-13
3
392 Views
Last Modified: 2012-06-27
Hi there,

I have an ASP IIS app I am updating and it currently is saving files to a local dir on the server.  They want the files saved to a network drive like this:

Application("PhysicalLibraryPath") = "\\127.0.0.1\docFiles"

but this doesn't work.  The server that is writing files there DOES have permission to write. I can connect to the path in Windows Explorer and copy files, etc. So why can't the ASP app do it?

It is reporting back:

-2146828213
Error Code  
Error Description Path/File access error

What the app is suppose to do is...

When someone uploads a file, the server then does whatever and moves the file to Application("PhysicalLibraryPath").  Any ideas?


Thank you!
0
Comment
Question by:lowRider
3 Comments
 
LVL 5

Expert Comment

by:waelothman
ID: 9744148
127.0.0.1 is not a valid ip it is local host ip
try to user machine name
0
 
LVL 58

Accepted Solution

by:
Gary earned 50 total points
ID: 9744224
You need to give either the IUSR or IWAM account write permissions on the pc where the files are being written.
0
 
LVL 1

Author Comment

by:lowRider
ID: 9744799
Sorry, I found this question asked about 300 times here. I now see all the links and answers of others.

Waelthman.. the ip or computer name does not matter.

GaryC123.. you are correct. The IUSR account needs to be duplicated on the other machine for this to work and then access to that user is given to the dir and then it works.


Thanks both for your responses,
lowRider
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Imported characters from spreadsheet look strange on ASP page 6 74
Update table value with join syntax 2 71
age from date of birth 4 43
Connection to multiple databases 13 22
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 …
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/…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

831 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