I have a WiseJ PDF reader control on a window and am simply applying the filename using PdfViewer.PdfSource
All works well when it is running locally but when it is published it doesn’t populate the reader
File permissions on the server are fine – am I losing the plot?
File format is of the type c:\myfiles\filename.pdf
Any help would be appreciated – I’m sure its something simple that I am just missing.
SOLVED-
The problem was the X-Frame option was set to DENY
Easy fix in the web config….
<system.webServer>
…
<httpProtocol>
<customHeaders>
<clear />
<add name=”X-Frame-Options” value=”sameorigin” />
</customHeaders>
</httpProtocol>
…
</system.webServer>
Luca – Thanks for putting me on the right track
Hi Andrew,
please refer to this discussion, it should put you on the right track:
https://wisej.com/support/question/pdf-viewer-question
Best regards
Frank
Please login first to submit.