Hi,
How do I ensure that if I use any FileSystemObject properties in my page that the script runs with the correct privileges.
At the moment if I execute
<%
If FSO.FileExists("\\pc001\c$\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe") Then
Response.Write("File found")
Else
Response.Write("File not found")
End If
%>
It comes back with File not found even though that file clearly exisits. I have a feeling it may be saying 'File not found' because the server executing the script is trying to connect to c$ and getting turned away because it doesn't have rights.
How do I ensure that if I use any FileSystemObject properties in my page that the script runs with the correct privileges.
At the moment if I execute
<%
If FSO.FileExists("\\pc001\c$\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe") Then
Response.Write("File found")
Else
Response.Write("File not found")
End If
%>
It comes back with File not found even though that file clearly exisits. I have a feeling it may be saying 'File not found' because the server executing the script is trying to connect to c$ and getting turned away because it doesn't have rights.