FSO.GetFile on Remote Server Share - TechRepublic
General discussion
February 26, 2001 at 10:51 AM
mbeall

FSO.GetFile on Remote Server Share

by mbeall . Updated 25 years, 3 months ago

I hope someone can shed some light on this problem. Please be detailed as I can be slow! 🙂
I have a share on a remote server and a virtual directory pointing to it. The share is set up with
everyone having full access to it (though this will be changed!).
I want to create my own directory listing in ASP, but I keep getting an error:

Microsoft VBScript runtime error ‘800a004c’

Path not found

Here is part of my code:

‘Get the physical path of the folder
Dim strRootFolderstrRootFolder = Server.MapPath(“/“)

‘Obtain a folder object instance of the directory
Dim objFolder
Set objFolder = objFSO.GetFolder(strRootFolder)

The last line of the supplied code is where the error occurs. All research leads me to believe that
maybe the permissions may not be set up correctly, but we have tried everything we can think of.

A Windows 2000 domain controller is being used.

Something similar has been done, and the other share has directory browsing enabled so there was no
need to create an ASP for the directory listing. That one works fine. This one doesn’t have directory
browsing enabled. Could this be the problem?

Please, again, I ask you to be specific if possible when responding.

This discussion is locked

All Comments