Solved

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

Posted on 2003-11-13
3
391 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

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
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 Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

861 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

23 Experts available now in Live!

Get 1:1 Help Now