I have a simple asp page that contains a link to a pdf file (file name coming from database).
If the file for the pdf is not found I want to display a customized version of the standard "The page cannot be displayed." It only needs to be a simple message instructing the user of who to contact to get the file loaded.
Is this possible. It sounds simple, but I haven't been able to dig up a solution.
Thanks in advance,
dmh4ab
Code:
Response.write "<a href = 'C:\Documents and Settings\e164735\Desktop\Desktop Temp\" & RsRecent("FileName").value & ".pdf'>" & RsRecent("RoutingCode").value & "</a>"
If the file for the pdf is not found I want to display a customized version of the standard "The page cannot be displayed." It only needs to be a simple message instructing the user of who to contact to get the file loaded.
Is this possible. It sounds simple, but I haven't been able to dig up a solution.
Thanks in advance,
dmh4ab