Solved

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

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server Web Traffic Limitations 4 67
asp syntax 3 57
If-Then-Else ASP problem 6 67
One field not displaying content (ASP Classic) 8 29
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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 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