I have just purchased an NX6125 HP laptop and loaded IIS.
I have an intranet application that ran on my last box under //localhost
On moving to the new box, I am receiving permission problems whenever I try to write to a directory using ASP.
The code is fairly simple:
I am running up against a permission problem when running this code.
Any ideas much appreciated.
I have an intranet application that ran on my last box under //localhost
On moving to the new box, I am receiving permission problems whenever I try to write to a directory using ASP.
The code is fairly simple:
Code:
<%
set fs=Server.CreateObject("Scripting.FileSystemObject")
Set objFolder = fs.getFolder("c:\e1")
For each objFile in objFolder.Files
copysource = "c:\e1\" & objFile.name
copydest = "c:\EALL\"
fs.Copyfile copysource,copydest
next %>
I am running up against a permission problem when running this code.
Any ideas much appreciated.