PDF Viewer not displaying documents being hosted on Linux.

0
0

We upgraded our application from WiseJ 2.5 to 3.1

We also moved hosting the application from IIS to Linux.

The application works as expected however the PDF viewer is not displaying documents.

We have tried both methods below and both are unsuccessful on Linux but successful on Windows.

No errors are thrown, just nothing displays.

PdfViewer1.PdfSource = String.Format(“https://[our domain]/pdf/{0}”, cboDocuments.SelectedItem.ToString)
PdfViewer1.PdfStream = New FileStream(Path.Combine(Application.StartupPath, “pdf”, cboDocuments.SelectedItem.ToString), FileMode.Open)

 

  • You must to post comments
0
0

I had to add CAS to NGINX site configuration.

PdfViewer1.PdfSource is now working.

 

  • You must to post comments
0
0

Hi Chad,

I tried previewing a PDF from a Linux server and it works as expected.

We would need a reproducible test case that works on windows but fails on Linux, if you can wrap up a small sample that would be great!

Best,
Alaa

  • You must to post comments
0
0

Hi Chad,

Thank you for reporting this issue, we will try to reproduce it and get back to you ASAP!

Best,
Alaa

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.