Page 1 of 1

PDFViewer - Missing PDF

PostPosted: 14 Apr 2019 06:28
by bzwirs
Hi,

Trying to use the PDFViewer component for first time and having a little trouble.

I set the PDFFileName property to the location of the PDF file which sits in the application path (E:/Machtrack/acctform.pdf). When I run the application for testing on my development PC I get the following error message in the PDFViewer:

Missing PDF "http://127.0.0.1:8888/E:/Machtrack/acctform.pdf"

The PDF file is definitely there....so what am I doing wrong??

Any help would be appreciated.


Bill Zwirs

Re: PDFViewer - Missing PDF

PostPosted: 16 Apr 2019 21:45
by zsleo
The PDF file must be located in the scope of the website.

Suggestions: save the PDF in "wwwroot/pdf" folder

Re: PDFViewer - Missing PDF

PostPosted: 18 Apr 2019 01:39
by bzwirs
Thanks. That works.

Bill