Hi,
We have a webpage browsing folders within the wwwroot. We need to
access a remote shared directory the same way.
We created a virtual directory in IIS with an alias pointing on this
remote directory. The virtual directory is accessible when we type it
in the address bar of IE but when we try accessing it with a
Scripting.FileSystemObject.
I wonder what is missing or what we are doing wrong.
Accessible :
http://<server-name>/<alias>
(I can browse the directory, download files, etc)
Not accessible :
Set fsoFolder = objFSO.GetFolder(Server.MapPath("<alias>"))
or
Set fsoFolder = objFSO.GetFolder("\\<remote-server-name>\<remote-
directory>")
or
Set fsoFolder = objFSO.GetFolder("http://<server-name>/<alias>")
When I tried these I got :
Server object error 'ASP 0177 : 800a004c'
Server.CreateObject Failed
/xslamweb/test-website/asp/xdsl_test.asp, line 43
The operation completed successfully
43 Set fsoFolder = objFSO.GetFolder(Server.MapPath("../../Ltdocs/"))
Can you please help me solve this problem.
Decoy