Hi,
I have classic asp code using Server.CreateObject("Scripting.FileSystemObject") to check if file exist. The code is working fine but when we try to move to new server which has iis7 (the current one using iis5.1) then the method checking for fileExist always return false.
if fs.FileExists("C:\Inetpub\ + docname) = True then
docfound = "yes"
else
docfound = "no"
end if
For sure the file is in C:\Inetpub\ Folder temp is a shared folder.
Thanks in advance.
I have classic asp code using Server.CreateObject("Scripting.FileSystemObject") to check if file exist. The code is working fine but when we try to move to new server which has iis7 (the current one using iis5.1) then the method checking for fileExist always return false.
if fs.FileExists("C:\Inetpub\ + docname) = True then
docfound = "yes"
else
docfound = "no"
end if
For sure the file is in C:\Inetpub\ Folder temp is a shared folder.
Thanks in advance.