473,378 Members | 1,422 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Accessing a shared file with ASP

Hi,

I have 2 servers and I would like to access shared files on server 1
from an asp page situated in the server 2 (with the filesystem object).

I can't do it, I think, due to access restriction with the user IUSER_...

Both servers are Windows 2003 server no situated in a domain.

Is there a solution to this problem ?

Thanks for your help,

Fred
Mar 15 '06 #1
2 1270
"Fred" <fr****@plansdereseaux.com> wrote in message
news:44***********************@news.wanadoo.fr...
: Hi,
:
: I have 2 servers and I would like to access shared files on server 1
: from an asp page situated in the server 2 (with the filesystem object).
:
: I can't do it, I think, due to access restriction with the user IUSER_...
:
: Both servers are Windows 2003 server no situated in a domain.
:
: Is there a solution to this problem ?

Setup a virtual directory and give the IUSR account on server 2 the rights
it needs on server 1.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Mar 17 '06 #2

"Roland Hall" <nobody@nowhere> wrote in message
news:e8**************@TK2MSFTNGP10.phx.gbl...
"Fred" <fr****@plansdereseaux.com> wrote in message
news:44***********************@news.wanadoo.fr...
: Hi,
:
: I have 2 servers and I would like to access shared files on server 1
: from an asp page situated in the server 2 (with the filesystem object).
:
: I can't do it, I think, due to access restriction with the user IUSER_... :
: Both servers are Windows 2003 server no situated in a domain.
:
: Is there a solution to this problem ?

Setup a virtual directory and give the IUSR account on server 2 the rights
it needs on server 1.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp MSDN Library - http://msdn.microsoft.com/library/default.asp


Why setup a virtual directory?

If the access is via File system object how does a virtual directory help?

Also it can be difficult to give IUSR access to a share on another system
because it is usually a local account (unless the web server is also a
domain controller).

Do you know how to grant a local IUSR account access to a network resource?

Anthony.
Mar 17 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Ernesto | last post by:
I'm in the process of moving a Python application from Windows to Linux. This means that the drivers for windows ".dll" now must be Linux drivers "shared library file" (.so I think). With...
3
by: prodirect | last post by:
Hi all, I hope someone can help me. I've recently created a database and wanted to put it up on an ftp sight so that multiple people could access the same tables at the same time from different...
9
by: Bob Day | last post by:
VS 2003, vb.net , sql msde... I have an application with multiple threads running. Its a telephony application where each thread represents a telephone line. For code that would be the same...
5
by: Khalique | last post by:
Hi everyone, I Hope that someone will be able to give me a hint to the solution to my problem. I have developed a web service (vb.net) that needs to access the folders / files and copy files to...
4
by: Khalique | last post by:
I have built a web service whose purpose is to copy files from a secure place to client machine and vice versa. The problem I am having is perhaps related to permissions and access rights. For...
2
by: baldwin | last post by:
Hello, We are going to have a web application that will be load balanced. Uploading documents into the same server is not an option. So we need to create a shared folder in a different machine...
1
by: Marco | last post by:
>From a ASP.Net application, I need to access to a remote shared directory of a file server. Unfortunately, I must access to this file server with a different user, not the user impersonated by the...
0
by: BK | last post by:
I need to find out who is accessing a shared file on a Windows Server. We need to update some shape files for a GIS application on a daily basis, but sometimes they are in use. We don't want to...
4
by: Noy B | last post by:
Hi, I have developed a small application that is using a MSAccess DB. the problem is that it was developed on a machine where the application and the DB are both located. now it needs to be...
6
by: JT | last post by:
Hi, I've realized that my good fortune of not having my computer go into standby mode was the result of my application accessing a file on a shared network drive. Not going into standby is a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.