Solved

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

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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 …
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

744 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

11 Experts available now in Live!

Get 1:1 Help Now