It is definitely a pathing problem. You might try some of the following possibilities:
Note where the browser focus is when the current page is loaded. T Where in the directory tree are the pdf files in relation to the current webpage? If they are in the same directory, then you can simply do a response.redirect('myfile.pdf').
If they are one level below, response.redirect('./myfolder/myfile.pdf')
One level up - response.redirect('..\myfolder\myfile.pdf')
There could also be a rights issue with the folder you are trying to access. Try outputting the pdfs to a temp folder and giving full rights to everyone. That redirection should work.
John
>UPDATE:
>
>One of my programmers got this to work.
>
>Instead of
>
>
>
>Response.Redirect("http://localhost/mypages/myReport.PDF")
>
>
>
>
>He tried:
>
>
>
>Response.Redirect("http://localhost\mypages\myReport.PDF")
>
>
>
> ... and the dang thing worked. The only difference being the direction of the slashes.
>
>As an additional FYI: Internet Explorer doesn't care which way the slashes are. It works both ways.
>
>Thanks for the help....
>
>-Steve Kanski
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright