What are you tried here is put whatever
File("~/HelpFile/awstats.pdf", "application/pdf") returns (the content of the pdf?) inside the
#PDF123 element as HTML content... That will not work anyway, as the browser will try to interpret it as HTML (after all you told it to do so) and it will fail of course...
The most simple way to show the user a file is to link to it (redirect the browser to it), however even then you can not be sure where (and by what application) the file will be opened... That's depends on the end user's favorites, so it can end with an in-bowser display, with a 3rd party application opening or with simple download...
In case you do not want to reveal the location of the file, this article try to explain how you can do that:
Stream Your Documents Using Simple Web Page[
^]