Wrox Home  
Search P2P Archive for: Go

  Return to Index  

proasp_howto thread: A Problem with FSO and Virtual Directories


Message #1 by "John Gedrim" <jgedrim@p...> on Mon, 25 Feb 2002 15:24:15
Mapping a drive only works for the logged on user - it wont be mapped for
any other user.

My guess is that FSO runs under the IUSR_<machinename> context when
determining which files the user has access to. The IUSR_<machinename>
account is local to the webserver and can't be given permissions to remote
resources, (except if IIS is running on a domain controller).

Change the account IIS is runing under to a domain account, and attempt to
access the file using UNC paths: \\fileserver\share\filename.txt - obviously
after giving this domain acccount permissions to the remote share etc

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Jerry Diegel" <diegelj@g...>
Subject: [proasp_howto] RE: A Problem with FSO and Virtual Directories


I would try to map the drive on your web server.  The use the mapped drive
for your FileExists.

-----Original Message-----
From: John Gedrim [mailto:jgedrim@p...]
Sent: Monday, February 25, 2002 9:24 AM
To: Pro ASP HowTo
Subject: [proasp_howto] A Problem with FSO and Virtual Directories


Can someone please tell me how to do an FSO FileExists on a virtual
directory on a different server to the web server? I am running IIS 4.0 on
NT 4.0.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  Return to Index