Solved

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

Posted on 2003-11-13
3
395 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
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/…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

695 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