The FileExists object keeps returning false even if I use the following:
If fso.fileExists(Server.MapPath(thumbfile)) Then %><img src="<%=thumbfile%>" /><% Else %><img src="./images/no-pic.gif" /><% End If %></div>
I am able to navigate to it locally. It is hosted on IIS6, what permissions are required on the server mapped directory?
To debug I did this:
<% Response.Write (Server.MapPath(thumbfile)) %>
This returned (which is valid):
\\101.101.101.123\docs\729\pic.jpg
The files are located on server 101.101.101.123 but IIS is on server 101.101.101.124
FileExists is still returning false.
<% Response.Write (thumbfile) %>
returns:
pdf/729/pic.jpg
Where PDF is a VIRTUAL DIRECTORY mapped to the listed path with Read/Write/Execute
\\101.101.101.123\docs